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"

Character applying force to physics asset when falling off it

I have a first person UE4 scene here, with a number of physics enabled static meshes that are moved by switches. Those work- my issue now is stopping the player from being able to use force against those blocks to cheat the game.

I disabled physics interaction on the player, which now means they can't push them or run along the side to shift them with friction, good so far. However, there seems to be some kind of force whenever the player falls off the top of an object, by just walking over the edge. Whatever the force is, it seems independant of mass as the object is thousands of times heavier than the player, and occurs even with physics interaction for the player disabled.

The force also seems to be proportional to the speed of the player when they fall off the edge, and doesn't occur if the player jumps off instead. What's really interesting is if that if I disable "can walk off ledge", the player can sprint up to one edge and the block still moves beneath them a bit as soon as they touch the edge. This is with the default FPS character, and I've tested it with multiple meshes. Any ideas?

edit: might be connected to "perch" in the character movement, testing that now.

Product Version: UE 4.18
Tags:
more ▼

asked Feb 16 '18 at 12:37 PM in Using UE4

avatar image

Cadellinman
33 4 2 5

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

1 answer: sort voted first

Solved: "Use flat base for floor checks" enabled, no more force applied to object when the character walks off the top.

more ▼

answered Feb 16 '18 at 02:43 PM

avatar image

Cadellinman
33 4 2 5

(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