PhysicsTestMotionParameters2D

package
v0.0.0-...-f3deeb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package PhysicsTestMotionParameters2D provides methods for working with PhysicsTestMotionParameters2D object instances.

Index

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 Any

type Any interface {
	gd.IsClass
	AsPhysicsTestMotionParameters2D() Instance
}

type Instance

By changing various properties of this object, such as the motion, you can configure the parameters for [method PhysicsServer2D.body_test_motion].

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsPhysicsTestMotionParameters2D

func (self Instance) AsPhysicsTestMotionParameters2D() Instance

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) CollideSeparationRay

func (self Instance) CollideSeparationRay() bool

func (Instance) ExcludeBodies

func (self Instance) ExcludeBodies() []RID.Any

func (Instance) ExcludeObjects

func (self Instance) ExcludeObjects() []int

func (Instance) From

func (self Instance) From() Transform2D.OriginXY

func (Instance) Margin

func (self Instance) Margin() Float.X

func (Instance) Motion

func (self Instance) Motion() Vector2.XY

func (Instance) RecoveryAsCollision

func (self Instance) RecoveryAsCollision() bool

func (Instance) SetCollideSeparationRay

func (self Instance) SetCollideSeparationRay(value bool)

func (Instance) SetExcludeBodies

func (self Instance) SetExcludeBodies(value []RID.Any)

func (Instance) SetExcludeObjects

func (self Instance) SetExcludeObjects(value []int)

func (Instance) SetFrom

func (self Instance) SetFrom(value Transform2D.OriginXY)

func (Instance) SetMargin

func (self Instance) SetMargin(value Float.X)

func (Instance) SetMotion

func (self Instance) SetMotion(value Vector2.XY)

func (Instance) SetRecoveryAsCollision

func (self Instance) SetRecoveryAsCollision(value bool)

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL