hi!
i am developing a physic engine at the moment!
and on this function:
i allways get a MAV on ode_dbodyaddforce! do you know why?
thx :)
i am developing a physic engine at the moment!
and on this function:
Function CreatePhysicExplosion(x#, y#, z#, range# = 5, intensity# = 10) For pm.PhysicMesh = Each PhysicMesh ox# = x# - EntityX(pm\ent) oy# = y# - EntityY(pm\ent) oz# = z# - EntityZ(pm\ent) dis# = Sqr(ox# ^ 2 + oy# ^ 2 + oz# ^ 2) If dis# < range# Then ODE_dBodyAddForce pm\body, ox# * intensity#, oy# * intensity#, oz# * intensity# Next End Function
i allways get a MAV on ode_dbodyaddforce! do you know why?
thx :)