It looks like you're new here. If you want to get involved, click one of these buttons!
Hi guys, I'm trying to get the speed of a moving object using orxObject_GetSpeed. It works on my player who has had the speed set with orxObject_SetSpeed.
But now I'm trying to get the speed of a moving platform, which is moved using FX as setup in the ini file. It looks like GetSpeed is always returning a zero vector on this object. Is it possible to get the current speed of such an object that is moved by a speed effect? Probably I've done something wrong but can't find it yet.
Here is the effect on the object in question:
[HorzElevatorFX] SlotList =HorzElevatorSpeedSlot KeepInCache = true Loop = true [HorzElevatorSpeedSlot] Type = Speed Curve = sine StartTime = 0 EndTime = 11 Absolute = true StartValue = (100,0,0) EndValue = (-100, 0, 0)