Announcement

Collapse
No announcement yet.

Rotating object in front of player's camera

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rotating object in front of player's camera

    I have first person game where we can grab some object and rotate them when holding. How to make rotation, not in world or local, but in player axes? When player move mouse left/right it have to rotate parallel to player Z axis, and up/down parallel to player Y.
    Is it possible in Blueprint or do I have use hard math in C++?

    #2
    You can do it in Blueprints quite easily.

    Check out the Wiki tutorial for grabbing physics objects, rotating them and "throwing" them.

    https://wiki.unrealengine.com/Pick_U...bject_Tutorial

    Comment


      #3
      Thanks, it's very helpfull. Not exactly what I wanted to do, but looks cool. Thanks a lot

      Comment

      Working...
      X