playMaker

Author Topic: BUG? After updating: set position/move to, does not work with rigid bodies[SOLVE  (Read 1533 times)

miguelfanclub

  • Full Member
  • ***
  • Posts: 165
I have updated my project from 2017.1 to 2017.3. Also from playmaker1.8.7 to 1.8.9. Everything works well but now, a collider i was using for trigger events is no longer moving, either using set position or itween add actions.

Once i remove the rigid body component, it works.

So im not sure if its due unity or playmeker
« Last Edit: February 27, 2018, 01:41:14 AM by jeanfabre »

Technecal

  • Playmaker Newbie
  • *
  • Posts: 1
Re: BUG? After updating: set position/move to, does not work with rigid bodies
« Reply #1 on: February 22, 2018, 03:38:05 PM »
Sorry i cant be more help to your specific problem but ive also had issue with rigid bodies and itween, for me it was an " add force then an itween rotate add which wouldn't work for me. Tested in isolation they both work fine, I'm thinking it might be a bug.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: BUG? After updating: set position/move to, does not work with rigid bodies
« Reply #2 on: February 26, 2018, 02:15:00 AM »
Hi,

 Rigidbody can not always be moved using transform position and rotation.

For this, you should use forces and torque, and if you need to reached a very precise position or rotation, you should use the dedicated custom actions for this, available on the ecosystem

SetRigidBodyPosition
SetRigidBodyRotation
RigidBodyMovePosition
RigidBodyMoveRotation


Bye,

Jean

miguelfanclub

  • Full Member
  • ***
  • Posts: 165
Re: BUG? After updating: set position/move to, does not work with rigid bodies
« Reply #3 on: February 26, 2018, 06:18:53 AM »
Didnt know wbout that! Ill try it. Thanks!