godot icon indicating copy to clipboard operation
godot copied to clipboard

Setting direction of Particles2D through GDscript uses degrees and not radians

Open lukaskotik opened this issue 10 years ago • 1 comments

Operating system or device - Godot version: Godot v2.1

Issue description (what happened, and what was expected):

Particles2D.set_param(Particles2D.PARAM_GRAVITY_DIRECTION, angle) requires angle to be in degrees and not in radians (as stated in help) The same holds for PARAM_DIRECTION.

lukaskotik avatar Oct 12 '16 22:10 lukaskotik

I wonder if PARAM_INITIAL_ANGLE is also degrees and not radians...

WalasPrime avatar Oct 13 '16 16:10 WalasPrime