Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
addExcludedObject(rid:)
Adds the PhysicsBody3D
object with the given RID
to the list of PhysicsBody3D
objects excluded from the collision check.
final func addExcludedObject(rid: RID)
Other members in extension
Type members
Instance members
var collisionMask: UInt32
The layers against which the collision check shall be done. See Collision layers and masks in the documentation for more information.
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 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.