Skip to content

StaticActor ​

Class

Source: StaticActor.h

Inherits from: PhysicsActor

Description ​

A physics body that does not move.

Static actors are used for environment elements like floors, walls, and platforms that should block other actors but are themselves immovable. They are optimized to skip integration and world bound resolution.

Inheritance ​

PhysicsActor → StaticActor

Methods ​

void draw(pixelroot32::graphics::Renderer& renderer) ​

Description:

Draws the actor.

Parameters:

  • renderer: Reference to the renderer.

Released under the MIT License.