Page 1 of 1

Disabling a platform's physics

Posted: 21 Feb 2016, 0:21
by Sambo
I can't set the platform NPC's speed. Regardless of the value I try to set, its behavior stays as normal. Actually, setting the speed fields doesn't seem to do anything to any NPC. So, how can I override an NPC's physics so I can directly control its movement?

Posted: 21 Feb 2016, 10:35
by Kevsoft

Posted: 23 Feb 2016, 7:41
by Sambo
What about NPC-104? There's only a Y-speed AI field for that one.

Ok, just got it to work (with SMW plaforms only. still can't figure SMB3 platform). However, gravity still tries to move the platform, and it starts moving down a bit before the script runs on each loop. This makes it drift downward slowly (speed = 0.2599999990584... or something). I tried setting the Y speed field to -0.26 but the platform still drifts down slowly. It would be nice to be able to disable gravity for an individual NPC. (If it were for all of them, that would break things)