mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
i need dis
This commit is contained in:
parent
5c681a0346
commit
f950b01dbf
@ -1624,6 +1624,7 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
|
|
||||||
if not self.physicsMgr:
|
if not self.physicsMgr:
|
||||||
from PhysicsManagerGlobal import physicsMgr
|
from PhysicsManagerGlobal import physicsMgr
|
||||||
|
from panda3d.physics import LinearEulerIntegrator
|
||||||
self.physicsMgr = physicsMgr
|
self.physicsMgr = physicsMgr
|
||||||
integrator = LinearEulerIntegrator()
|
integrator = LinearEulerIntegrator()
|
||||||
self.physicsMgr.attachLinearIntegrator(integrator)
|
self.physicsMgr.attachLinearIntegrator(integrator)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user