Documentation
¶
Overview ¶
Package PinJoint2D provides methods for working with PinJoint2D object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AngularLimitEnabled() bool
- func (self Instance) AngularLimitLower() Float.X
- func (self Instance) AngularLimitUpper() Float.X
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsJoint2D() Joint2D.Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsNode2D() Node2D.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsPinJoint2D() Instance
- func (self Instance) MotorEnabled() bool
- func (self Instance) MotorTargetVelocity() Float.X
- func (self Instance) SetAngularLimitEnabled(value bool)
- func (self Instance) SetAngularLimitLower(value Float.X)
- func (self Instance) SetAngularLimitUpper(value Float.X)
- func (self Instance) SetMotorEnabled(value bool)
- func (self Instance) SetMotorTargetVelocity(value Float.X)
- func (self Instance) SetSoftness(value Float.X)
- func (self Instance) Softness() Float.X
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
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 Instance ¶
type Instance [1]gdclass.PinJoint2D
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate. For example, a [RigidBody2D] can be attached to a [StaticBody2D] to create a pendulum or a seesaw.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AngularLimitEnabled ¶
func (Instance) AngularLimitLower ¶
func (Instance) AngularLimitUpper ¶
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) AsPinJoint2D ¶
func (Instance) MotorEnabled ¶
func (Instance) MotorTargetVelocity ¶
func (Instance) SetAngularLimitEnabled ¶
func (Instance) SetAngularLimitLower ¶
func (Instance) SetAngularLimitUpper ¶
func (Instance) SetMotorEnabled ¶
func (Instance) SetMotorTargetVelocity ¶
func (Instance) SetSoftness ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.