Description
Places a persistent static mesh object at a specified world position and rotation. The object has no collision or interaction by default and is purely visual unless configured otherwise. Destroyed with Destroy Static Object. Useful for constructing custom map geometry, decorations, or level design elements at runtime.
Snippet
Spawn Static Object(Mesh(Crate), Vector(0, 0, 0), Vector(0, 0, 0), Vector(1, 1, 1));
Properties
Returns: Void
Parameters: Mesh, Position, Rotation, Scale
Mesh
Type: Mesh, Default: Mesh(Crate)
The static mesh asset to place in the world.Position
Type: Vector, Default: Vector(0, 0, 0)
The world position at which the object will be placed.Rotation
Type: Vector, Default: Vector(0, 0, 0)
The Euler rotation of the object in degrees on each axis.Scale
Type: Vector, Default: Vector(1, 1, 1)
The scale of the object on each axis. A value of Vector(1, 1, 1) represents the mesh's default size.