mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
Add bullet ghost node test
This commit is contained in:
parent
25e7e20ccd
commit
a9f3940577
@ -131,3 +131,12 @@ def test_sphere_shape():
|
||||
assert shape.margin == shape2.margin
|
||||
assert shape.name == shape2.name
|
||||
assert shape.radius == shape2.radius
|
||||
|
||||
|
||||
def test_ghost():
|
||||
node = bullet.BulletGhostNode("some ghost node")
|
||||
|
||||
node2 = reconstruct(node)
|
||||
|
||||
assert type(node) is type(node2)
|
||||
assert node.name == node2.name
|
||||
|
Loading…
x
Reference in New Issue
Block a user