Author Topic: Mouse look rotation/parenting issue  (Read 573 times)


  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Mouse look rotation/parenting issue
« on: April 12, 2018, 01:26:38 PM »
hey guys

I made a pretty simple pick up script, which parents the picked up object to a "held position" cube thats parented in front of the player, and I wanna use it to "mouse look" rotate the object.

But the issue I found is the picked up objects own pivot point is being parented to the centre of my "held position", which makes rotating the object terrible, because the pivot points I set on the objects are usually not in the dead centre, but i wanna rotate from the centre of the held object.

how would I set parent to use the centre of the held object instead of its pivot point?

As shown in my screenshot, I set a cups pivot to the base (for easy placing in game), and that pivot position is what is being childed, throwing the rotation off  :-\