Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: miguelfanclub on February 22, 2018, 10:10:22 AM

Title: BUG? After updating: set position/move to, does not work with rigid bodies[SOLVE
Post by: miguelfanclub on February 22, 2018, 10:10:22 AM
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
Title: Re: BUG? After updating: set position/move to, does not work with rigid bodies
Post by: Technecal 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.
Title: Re: BUG? After updating: set position/move to, does not work with rigid bodies
Post by: jeanfabre 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
Title: Re: BUG? After updating: set position/move to, does not work with rigid bodies
Post by: miguelfanclub on February 26, 2018, 06:18:53 AM
Didnt know wbout that! Ill try it. Thanks!