Thanks for the help Ancient Lady !
Anyway this was my bad. DeletePhysicsForce is working.
I was creating several instances of CreatePhysicsForce within a FOR NEXT loop..like :
for i = 1 to 3
force = CreatePhysicsForce(.......)
next i
DeletePhysicsForce(force)
The above doesn't work as I am creating the force (assigned always to the variable force) 3 times. So I put the command beforce the FOR loop.
Nevertheless the DeletePhysicsCommand should work as well assuming only when i=3 the force variable is created again.
I dunno why AppGameKit doesn't have CreatePhysicsForce with a first parameter being the Index..like: CreatePhysicsForce(forceIndex,...) like other sprite parameters and others have.
Best Regards !
|MaMUtE|