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"

Box volume as child component of physics actor - locking rotation?

Hi all,

As with most things UE4 I imagine there is some easy way to do this but I am going about it in the wrong way.

Basically, I want a physics actor with a box collision slightly larger than the mesh, so it can detect when a fire source is near enough to set fire to the actor. I want to lock the rotation of the box collision so that it follows the physics actor's position but not rotation, so it is always slightly larger below the actor, to help simulate how heat rises (i.e. it will be easier to set the actor on fire from below).

  • I have a static mesh as my base component for this blueprint - physics are enabled, preset is PhysicsActor.

  • A box collision is set up as a child of the static mesh - physics are disabled, collision preset is Trigger. Physics > constraints > lock rotation x/y/z can be all ticked and it has no effect.

Set up this way, it seems that the box collision locks rotation in the sense that it is locked to match the rotation values of its parent, not that it locks the rotation values when the object is created and will not change regardless of what the parent is doing.

Any ideas/advice is appreciated, I expect I am just approaching this in the wrong way.

Edit: Thought I had found my solution by unticking the auto-weld option on the box collision, but this didn't make a difference.

Product Version: UE 4.15
Tags:
more ▼

asked Apr 16 '17 at 04:35 PM in Blueprint Scripting

avatar image

jagoorv4
6 1 2 5

(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