playMaker

Author Topic: Mousse over not working when is a child to parent  (Read 1273 times)

utopien

  • Playmaker Newbie
  • *
  • Posts: 37
Mousse over not working when is a child to parent
« on: April 03, 2018, 03:59:41 AM »
hi i dont why but i try mousse over un Gobject  it work perfect when is not parented but it dont work all when i parent it to object who Has rigid body please help cause i have no idee what to do...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mousse over not working when is a child to parent
« Reply #1 on: April 17, 2018, 02:10:09 AM »
Hi,

 you should never parent a non rigidbody to a rigidbody, alwasy use joints. If you need a hierarchy, set your childs as rigidbody but set them to kinematic and add a fixed joint.

 the other solution would be to force position and rotation of a gameobject to a Rigidbody on late update, so the parenting is soft and then mouse will work.

 Let me know if you still struggle with this.

 Bye,

 Jean