Api SmoothDamped
struct

SmoothDamped

public sealed struct SmoothDamped

Everything you need to smooth damp a Vector3. Just call Update every frame.

Constructors

SmoothDamped(Vector3 Current, Vector3 Target, Single SmoothTime)

Everything you need to smooth damp a Vector3. Just call Update every frame.

Properties

Name Type Description
Current Vector3
Target Vector3
SmoothTime Single

Methods

Void Update(Single timeDelta)
Void Deconstruct(Vector3 Current, Vector3 Target, Single SmoothTime)

Fields

Name Type Description
Velocity Vector3
Assembly: Sandbox.System Declaring Type: Vector3 Full Name: Vector3.SmoothDamped