Class BuoyancyHelper
Simple buoyancy model. No character movement just fluid forces/torques added to parts.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class BuoyancyHelper : CustomHelper
Constructors
Name | Description |
---|---|
BuoyancyHelper(Ped) | Creates a new Instance of the BuoyancyHelper for sending a Buoyancy Message to a given Ped. |
Properties
Name | Description |
---|---|
Buoyancy | Buoyancy multiplier. |
ChestBuoyancy | Buoyancy multiplier for spine2/3. Helps character float upright. |
Damping | Damping for submerged parts. |
Righting | Use righting torque to being character face-up in water?. |
RightingStrength | Strength of righting torque. |
RightingTime | How long to wait after chest hits water to begin righting torque. |
SurfaceNormal | Normal to surface of water. |
SurfacePoint | Arbitrary point on surface of water. |