API ReferenceSandbox.Physics

PhysicsPointclass

Used to describe a point on a physics body. This is used for things like joints where you want to pass in just a body, or sometimes you want to pass in a body with a specific location and rotation to attach to.

objectPhysicsPoint
Namespace
Sandbox.Physics
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Physics.PhysicsPoint

Constructors1

Showing 1 constructors

Methods2

Showing 2 methods

Properties2

Showing 2 properties

public Transform Sandbox.Physics.PhysicsPoint.LocalTransform { get; set; }PUBLICGETSET

A transform relative to `Sandbox.Physics.PhysicsPoint.Body`, containing `Sandbox.Physics.PhysicsPoint.LocalPosition` and `Sandbox.Physics.PhysicsPoint.LocalRotation` with scale of 1.

Returns:Transform

On this page