playMaker

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

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
Mouse look rotation/parenting issue
« on: April 12, 2018, 04: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  :-\