The speed of my NPC is always influenced by platforms (fixed patch 25)
Posted: 10 Nov 2019, 8:05
I'm recreating the Super Ball and I got a problem: I can't make the speed of the NPC constant.
Whenever it collides with the of a platform its speed changes, but the .xsp and .ysp values won't change in the editor (which doesn't let me create conditions for controlling the speed). For example:
It shows that the X and Y speeds are always 6m but that's not true, the platforms modified its speed. I don't know how I can prevent this happening, I tried multiple things but none of them worked. May I be missing something?
A new CNPC code has been added to solve this.
Here's the script:
Whenever it collides with the of a platform its speed changes, but the .xsp and .ysp values won't change in the editor (which doesn't let me create conditions for controlling the speed). For example:
- Spoiler

It shows that the X and Y speeds are always 6m but that's not true, the platforms modified its speed. I don't know how I can prevent this happening, I tried multiple things but none of them worked. May I be missing something?
A new CNPC code has been added to solve this.
Here's the script: