Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
constantLinearVelocity
The body’s constant linear velocity. This does not move the body, but affects touching bodies, as if it were moving.
StaticBody2D.swift:37final var constantLinearVelocity: Vector2 { get set }
Other members in extension
Type members
Instance members
var constantAngularVelocity: Double
The body’s constant angular velocity. This does not rotate the body, but affects touching bodies, as if it were rotating.
var physicsMaterialOverride: PhysicsMaterial?
The physics material override for the body.