SJointSpring

Index

Functions Index

Function Name

override string ToString ()

static SJointSpring New (float spring, float damper, float targetPosition)

Properties Index

Property Name

float Spring get

float Damper get

Functions

ToString

override string ToString ()

Returns this SJointSpring's properties as a string

Parameter
Type
Description

SpringString = Space.Host.ExecutingObject.HingeJoint.Spring.ToString()

New

static SJointSpring New (float spring, float damper, float targetPosition)

Creates a new SJointSpring with the given spring, damper, targetPosition.

Parameter
Type
Description

Properties

Spring

float Springget

The spring forces used to reach the target position.

Damper

float Damperget

The damper force uses to dampen the spring.

TargetPosition

float TargetPositionget

The target position the joint attempts to reach.

Last updated

Was this helpful?