MovementKit
Loading...
Searching...
No Matches
Collision and trigger.

Functions

delegate void RiverExplorer.Player.PlayerControl.CollidedWith (Facing PlayerFacing, Moving PlayerMoving, Collision CollidedWith)
 
delegate void RiverExplorer.Player.PlayerControl.CollidingWhileMoving (Facing PlayerFacing, Moving PlayerMoving, ControllerColliderHit WeHit)
 
delegate void RiverExplorer.Player.PlayerControl.CollisionStopped (Facing PlayerFacing, Moving PlayerMoving, Collision CollidedWith)
 
delegate void RiverExplorer.Player.PlayerControl.EnteredTrigger (Facing PlayerFacing, Moving PlayerMoving, Collider Trigger)
 
delegate void RiverExplorer.Player.PlayerControl.ExitedTrigger (Facing PlayerFacing, Moving PlayerMoving, Collider Trigger)
 
delegate void RiverExplorer.Player.PlayerControl.StillColliding (Facing PlayerFacing, Moving PlayerMoving, Collision CollidedWith)
 

Detailed Description

A collision with another object

This also includes triggers.

Function Documentation

◆ CollidedWith()

delegate void RiverExplorer.Player.PlayerControl.CollidedWith ( Facing PlayerFacing,
Moving PlayerMoving,
Collision CollidedWith )

#include <G:/Unity/AssetStoreProjects/MovementKit/Assets/RiverExplorer/PlayerControl/Scripts/PlayerControl.cs>

Delegate. Player collided with.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
CollidedWithWith what.
Here is the caller graph for this function:

◆ CollidingWhileMoving()

delegate void RiverExplorer.Player.PlayerControl.CollidingWhileMoving ( Facing PlayerFacing,
Moving PlayerMoving,
ControllerColliderHit WeHit )

#include <G:/Unity/AssetStoreProjects/MovementKit/Assets/RiverExplorer/PlayerControl/Scripts/PlayerControl.cs>

Called when colliding while moving.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
WeHitWhat we hit while moving.

◆ CollisionStopped()

delegate void RiverExplorer.Player.PlayerControl.CollisionStopped ( Facing PlayerFacing,
Moving PlayerMoving,
Collision CollidedWith )

#include <G:/Unity/AssetStoreProjects/MovementKit/Assets/RiverExplorer/PlayerControl/Scripts/PlayerControl.cs>

Delegate. Player is no longer colliding with.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
CollidedWithStopped colliding with.

◆ EnteredTrigger()

delegate void RiverExplorer.Player.PlayerControl.EnteredTrigger ( Facing PlayerFacing,
Moving PlayerMoving,
Collider Trigger )

#include <G:/Unity/AssetStoreProjects/MovementKit/Assets/RiverExplorer/PlayerControl/Scripts/PlayerControl.cs>

Delegate Player entered trigger.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
TriggerWith object.

◆ ExitedTrigger()

delegate void RiverExplorer.Player.PlayerControl.ExitedTrigger ( Facing PlayerFacing,
Moving PlayerMoving,
Collider Trigger )

#include <G:/Unity/AssetStoreProjects/MovementKit/Assets/RiverExplorer/PlayerControl/Scripts/PlayerControl.cs>

Delegate Player exited trigger.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
TriggerExited this trigger.

◆ StillColliding()

delegate void RiverExplorer.Player.PlayerControl.StillColliding ( Facing PlayerFacing,
Moving PlayerMoving,
Collision CollidedWith )

#include <G:/Unity/AssetStoreProjects/MovementKit/Assets/RiverExplorer/PlayerControl/Scripts/PlayerControl.cs>

Called once per frame, if player is still colliding with.

Parameters
PlayerFacingThe direction the player is facing.
PlayerMovingThe direction the player is moving.
CollidedWithStill colliding with.