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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Physical Constraint to Walls

Is it possible to constrain a physics actor so thats its movement is attached to the floor, and if a force is applied it will not leave contract with the floor?

Additionally could this be expanded to allow it to roll along the floor and up a wall perhaps onto a ceiling, like a strange version of magnetic air hockey!

Many thanks, this is really important!

Product Version: Not Selected
Tags:
more ▼

asked Mar 20 '19 at 07:22 PM in Using UE4

avatar image

TheEssenceFlux
5 1 2

avatar image TheEssenceFlux Mar 21 '19 at 01:08 AM

Worth mentioning that im applying a force with a 'hammer' to a ball and want that force not to move the object off the surface at all think rocket league but were the ball is perma stuck to the ground!

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

1 answer: sort voted first

Hi TheEssenceFlux,

One simple way to constrain a physic actor to a plane (wall, floor) is by playing around with the constraints options inside the Physics category.

Physic category - Constraints

In this example, I have locked the position on Z axis, which makes my physic actor stay on a plane parallel to the ground. You can aswell look into the Mode drop-down for more specific needs.

Hope it helps!

Cheers.

more ▼

answered Mar 21 '19 at 01:36 AM

avatar image

Elou44
179 3 9 7

avatar image TheEssenceFlux Mar 21 '19 at 02:30 AM

But let's say I wanted an arena like rocket league with curved edges but I wanted the ball to never let go of the sides while still moving when a force is applied is this possible?

(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