MovementKit
Loading...
Searching...
No Matches
RiverExplorer Namespace Reference

Namespaces

namespace  Editor
 
namespace  Player
 
namespace  PlayerMovment
 

Classes

class  CollisionControl
 
class  FollowCamera
 
class  NavMeshFollowSomething
 
class  ObjectsColliding
 
struct  WhoHitWhat
 

Functions

delegate void HitSomething (Collision CollidedWith, Rigidbody Rb)
 

Function Documentation

◆ HitSomething()

delegate void RiverExplorer.HitSomething ( Collision CollidedWith,
Rigidbody Rb )

This is a delegate that is called when we hit something. It is used to call a user defined function when we hit something.

Parameters
CollidedWithThe object that was collided with. the CollidedWith value is supplied by the system from ObjectColliding.cs
CollieddWithRbThe Rigidbody of the the object collided with. Might be null. We only care about this when DetectByRigidBody is true.
Note
The other object might not have a RigidBody, so CollieddWithRb may be null.