(URGENT)Creating a sequence for setDynamic(true) to setDynamic(false)

because classes are the fundamentals of object oriented programming.
the most basic thing you need to know

1 Like

Yup because each class can house the functions that class needs. It makes it very clear what physics and events and anything else is operating on. Your method of everything in a single class works too but it is very hard to see what is going on and flush out any bugs by just reading the code. We didn’t write your code so we don’t know it like you do.

Plus adding code in the future and debugging and testing will be a lot easier.

fair enough. I do have 30 days and should spend more time on the actual build.

but this will be re-addressed if i can’t solve it

Or maybe it won’t :-). It may be easier to solve with separate logic.

did you check the acceleration part? If you set velocity, there can still be an active acceleration. If you reset forces, there can still be an acceleration acting on the body.