x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Changing FPS character orientation to match alternate gravity

alt text

Ok, so I am in the early stages of learning BP after using Unity for a couple years with basic C# (really more an assets guy). I am working on a prototype for a fps character controller that can enter trigger volumes that change the the direction of gravity (for MC Escher type situations).

An example level BP that does this for a certain volume is posted above.

(if there is a better way to achieve this result, I would certainly like to know! One major issue is that the player doesn't move toward the wall on the Y axis until they have jumped to break the static friction.)

The real question, is how do I change the player character's orientation, so that it now uses that Y axis as its new vertical, and grounds on the wall?

I have tried rotating the character controller, and the result seems to be that it rotates the collider capsule only, and the capsule still wants to ground on the normal floor even in new gravity zones, and the camera is still oriented the same way.

Product Version: UE 4.7
Tags:
gravscript1.png (91.9 kB)
more ▼

asked Jun 05 '15 at 05:10 PM in Blueprint Scripting

avatar image

Juniper
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question