So I’ve made a simple Behavior that use Object.Angle() in his formulas and I’ve seen something that seems a Bug to me.
I’ve made this simple project that read the Angle of a Sprite with Object.Angle() from the Event of a Scene and another one from the “OnCreated” of a Behavior and this is the result:
Before pressing a Key
After a Key is Pressed
The angle from the Behavior is always 0 and return to normal only using Object.Angle() from the other Behavior Functions (“DoStepPreEvent”, etc.).
I have made this post cause I dont know if it is intended or not or even if it’s already known.
If It’s a Bug just tell me and I will upload the project.