Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
collisionMask
The layers against which the collision check shall be done. See Collision layers and masks in the documentation for more information.
SpringArm3D.swift:17final var collisionMask: UInt32 { get set }
Other members in extension
Type members
Instance members
var margin: Double
When the collision check is made, a candidate length for the SpringArm3D is given.
var shape: Shape3D?
The
Shape3D
to use for the SpringArm3D.var springLength: Double
The maximum extent of the SpringArm3D. This is used as a length for both the ray and the shape cast used internally to calculate the desired position of the SpringArm3D’s child nodes.
func addExcludedObject(rid: RID
) Adds the
PhysicsBody3D
object with the givenRID
to the list ofPhysicsBody3D
objects excluded from the collision check.func clearExcludedObjects(
) Clears the list of
PhysicsBody3D
objects excluded from the collision check.func getHitLength(
) -> Double Returns the spring arm’s current length.
func removeExcludedObject(rid: RID
) -> Bool Removes the given
RID
from the list ofPhysicsBody3D
objects excluded from the collision check.