Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: dudebxl on October 01, 2015, 10:25:39 AM

Title: Set Rotation Velocity Direction 2d
Post by: dudebxl on October 01, 2015, 10:25:39 AM
SetRotationForceDirection2d

Rotate 2d gameobject in the direction of velocity / force movement

NOTE: sprite at 0.0.0 should face right

on ecosystem or https://snipt.net/dudebxl/setrotationvelocitydirection2d/
Title: Re: Set Rotation Velocity Direction 2d
Post by: 4arrancho on January 09, 2019, 05:35:20 PM
Hi

Is possible to change this action so it remembers the last rotation angle before the key is up

Example: If i press the key arrow down it rotates down but if i leave the key it rotates to original position that it's facing right