Documentation
¶
Overview ¶
Node that can be the parent of PhysicalBone3D and can apply the simulation results to Skeleton3D.
Index ¶
- type Advanced
- type Any
- type Expanded
- type Extension
- type ID
- type Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsNode3D() Node3D.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsPhysicalBoneSimulator3D() Instance
- func (self Instance) AsSkeletonModifier3D() SkeletonModifier3D.Instance
- func (self Instance) ID() ID
- func (self Instance) IsSimulatingPhysics() bool
- func (self Instance) MoreArgs() MoreArgs
- func (self Instance) PhysicalBonesAddCollisionException(exception RID.Body3D)
- func (self Instance) PhysicalBonesRemoveCollisionException(exception RID.Body3D)
- func (self Instance) PhysicalBonesStartSimulation()
- func (self Instance) PhysicalBonesStopSimulation()
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) Virtual(name string) reflect.Value
- type MoreArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension
func (*Extension[T]) AsPhysicalBoneSimulator3D ¶
func (*Extension[T]) AsSkeletonModifier3D ¶
func (self *Extension[T]) AsSkeletonModifier3D() SkeletonModifier3D.Instance
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Instance ¶
type Instance [1]gdclass.PhysicalBoneSimulator3D
Instance of the class with convieniently typed arguments and results.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsPhysicalBoneSimulator3D ¶
func (Instance) AsSkeletonModifier3D ¶
func (self Instance) AsSkeletonModifier3D() SkeletonModifier3D.Instance
func (Instance) IsSimulatingPhysics ¶
Returns a boolean that indicates whether the PhysicalBoneSimulator3D is running and simulating.
func (Instance) MoreArgs ¶
MoreArgs enables certain functions to be called with additional 'optional' arguments.
func (Instance) PhysicalBonesAddCollisionException ¶
Adds a collision exception to the physical bone.
Works just like the RigidBody3D node.
func (Instance) PhysicalBonesRemoveCollisionException ¶
Removes a collision exception to the physical bone.
Works just like the RigidBody3D node.
func (Instance) PhysicalBonesStartSimulation ¶
func (self Instance) PhysicalBonesStartSimulation()
Tells the PhysicalBone3D nodes in the Skeleton to start simulating and reacting to the physics world.
Optionally, a list of bone names can be passed-in, allowing only the passed-in bones to be simulated.
func (Instance) PhysicalBonesStopSimulation ¶
func (self Instance) PhysicalBonesStopSimulation()
Tells the PhysicalBone3D nodes in the Skeleton to stop simulating.
type MoreArgs ¶
type MoreArgs [1]gdclass.PhysicalBoneSimulator3D
MoreArgs is a container for Instance functions with additional 'optional' arguments.
func (MoreArgs) PhysicalBonesStartSimulation ¶
Tells the PhysicalBone3D nodes in the Skeleton to start simulating and reacting to the physics world.
Optionally, a list of bone names can be passed-in, allowing only the passed-in bones to be simulated.