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"

I can not lock player start to an axis

After following a Paper2D tutorial and making a really basic character and platform i noticed this problem. I can sucessfully lock the platform and the background but not the player start, when i test it the player can move normally but when i collide with another paper element it just clip through it. For diagnosis i created 3D blocks, scaled them and applied the prototyping material. After that i found the problem, the character spawned by the "player start" does not lock the character in the Y axis, and touching anything 2D causes the player to move on the Y axis.

So, the question is how to solve this problem since the "player start" does not have a lock axis option or a physics tab.

pictures for visual explanation: alt text alt text alt text

Product Version: UE 4.7
Tags:
screenshot1.png (322.6 kB)
more ▼

asked Aug 11 '15 at 09:37 AM in Using UE4

avatar image

TooThi
1 2 1

avatar image TooThi Aug 11 '15 at 10:31 PM

I have tried most options and the character is still not locked to the Y axis. CapsuleComponent (Inherited) is locked axis Y. alt text

There is a thing called Planar Movement in the CharacterMovement (Inherited). When i turn this one ON the character is not even able to walk, note that the block that fall on the character when i start a test can push him a little bit. alt text

screenshot10.png (38.6 kB)
screenshot11.png (44.6 kB)
avatar image TooThi Aug 11 '15 at 11:42 PM

The problem just fixed itself. I am now trying to figure out why, because all i did was remove the player spawn and put another in its place and uncheck all the boxes that lock axis . Why it is working when it shouldn't? it works when i disable but stops working when i enable, is it opposite day today?

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

1 answer: sort voted first

The player start only indicates the spawn point of your character. What you want to do I think is lock the character axis (Under Physics > capsule > constraints > Lock Position).

Or maybe this is your solution using physics constraints:

https://answers.unrealengine.com/questions/59435/axis-lock-on-pawncharacter-bp.html

more ▼

answered Aug 11 '15 at 11:58 AM

avatar image

keyle
1.8k 66 27 90

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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