We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Physics issue with local direction

Home Forums Puzzles Physics issue with local direction

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27430
    remediochino
    Participant

    Hi everyone! I’m trying to achieve the following:

    1 Dynamic body needs to have certain functionalities in all directions. I need to be able to apply impulses on X axis. It gets correctly impulsed on Z axis, and X axis, but when the body rotates, the local X axis is not updated. Meaning that the object is facing a different direction, but the X axis is always the global.

    Is there any way to do this? I have tried solving it by parenting to an empty. That’s the only way it works, but the parent also provides its rotation so that the body does not have any local rotation anymore and keeps attached to it.

    Thanks in advance. :heart:

    #27476

    Hi,
    All physics vectors applied in the world (global) coordinate space. To get object direction in this space use the get object direction Puzzle or calculate vector orientation by applying Euler angles to some initial direction (such as [0,1,0]) by using the vector math Puzzle.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #27478
    remediochino
    Participant

    Hi Alexander! I have tried using the get object direction puzzle but it does not recognizes the direction. I will try uploading a file for you to check it out.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.