playMaker

Author Topic: Tween Rotate unable to rotate locally when parent object is moving  (Read 8459 times)

SawyerK

  • Junior Playmaker
  • **
  • Posts: 99
Hi,
I'm trying to use Tween Rotate for a car door, it works when the car is in static position, but when the car start moving and player is opening/closing the door the Tween Rotate completely brakes and it seems like it tries to rotate the door object on world position.
I tried to use Current Location to Local Rotation, Local Rotation to Local Rotation, On Update, On Late Update, On Fixed Update, every possible way, but I got the same result with all of them.
It seems like Tween Rotate is unable to rotate an item locally when the parent object is moving/rotating.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Tween Rotate unable to rotate locally when parent object is moving
« Reply #1 on: April 21, 2025, 03:01:15 AM »
Hi,

use local rotation offset for the TO Option.



it works here, if you have trouble still, I'll send you the scene

Bye,

Jean

SawyerK

  • Junior Playmaker
  • **
  • Posts: 99
Re: Tween Rotate unable to rotate locally when parent object is moving
« Reply #2 on: April 21, 2025, 06:43:55 AM »
I tried this as well.
Local offset rotation just spins the door around.