mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
added conveyor belt and directionCell
This commit is contained in:
parent
ecdb18879f
commit
5d2cf9d9dc
@ -17,6 +17,12 @@ class ActiveCell(Entity):
|
|||||||
('gridId', None)
|
('gridId', None)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
class DirectionalCell(ActiveCell):
|
||||||
|
type = 'directionalCell'
|
||||||
|
attribs = (
|
||||||
|
('dir', [0,0]),
|
||||||
|
)
|
||||||
|
|
||||||
class LevelMgr(Entity):
|
class LevelMgr(Entity):
|
||||||
type = 'levelMgr'
|
type = 'levelMgr'
|
||||||
attribs = (
|
attribs = (
|
||||||
@ -109,6 +115,17 @@ class Button(Switch):
|
|||||||
class Trigger(Switch):
|
class Trigger(Switch):
|
||||||
type = 'trigger'
|
type = 'trigger'
|
||||||
|
|
||||||
|
class ConveyorBelt(Nodepath):
|
||||||
|
type = 'conveyorBelt'
|
||||||
|
attribs = (
|
||||||
|
('speed', 1.0),
|
||||||
|
('length', 1.0),
|
||||||
|
('widthScale', 1.0),
|
||||||
|
('treadLength', 1.0),
|
||||||
|
('treadModelPath', 'phase_7/models/cogHQ/platform1'),
|
||||||
|
('floorName', 'platformcollision'),
|
||||||
|
)
|
||||||
|
|
||||||
class Crate(Nodepath):
|
class Crate(Nodepath):
|
||||||
type = 'crate'
|
type = 'crate'
|
||||||
delAttribs = (
|
delAttribs = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user