My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
VerletProjectile Class Reference
Inheritance diagram for VerletProjectile:
Modifiable

Public Member Functions

void FixedUpdate ()
 
void SetPosition (Vector3 pos)
 
void SetVelocity (Vector3 vel)
 
Vector3 GetVelocity ()
 
Vector3 GetVelocityNormal ()
 
void AddForce (Vector3 force)
 
void Collide ()
 

Public Attributes

float gravityScale = 1.0f
 
float damp = 1.0f
 
float mass = 1.0f
 
bool collides = true
 
float lagSecs
 
LayerMask collisionLayer = 0
 
HitEvent RayCollided = new HitEvent()
 

Properties

Vector3 PrevPosition [get]
 
float VelocityMag [get]
 
- Properties inherited from Modifiable
NetworkObject net [get]
 

The documentation for this class was generated from the following file: