Constructs a new SpikeTrapObject.
The spike trap's mesh.
The Babylon.js scene.
Protected
meshProtected
sceneStatic
Readonly
TypeAccepts a visitor (for the visitor pattern).
The GameObjectVisitor.
Enables collision detection for the spike trap's physics body.
Returns the damage value of the spike trap.
Returns the unique ID of the spike trap.
Returns the main mesh of the spike trap.
Returns all meshes associated with the spike trap.
Returns the type of the object ("spike_trap").
Handles contact events (collision). Returns false (no special logic).
Handles logic when the game is paused (no-op).
Handles logic when the game is resumed (no-op).
Updates the spike trap (no-op).
SpikeTrapObject represents a spike trap enemy in the game.