Class PlayerMoveScanner
Detects information about where the player is going to step
Inheritance
PlayerMoveScanner
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerMoveScanner : MonoBehaviour
Properties
|
Improve this Doc
View Source
AboveBehindWall
The wall above and behind the hanging player
Declaration
public AdjacentSurface AboveBehindWall { get; }
Property Value
|
Improve this Doc
View Source
BelowBehindWall
The wall behind a player that he can rappel down to while walking backwards
Declaration
public AdjacentSurface BelowBehindWall { get; }
Property Value
|
Improve this Doc
View Source
FrontUnderCeiling
The ceiling which is underneath the player in front of him while climbing
Declaration
public AdjacentSurface FrontUnderCeiling { get; }
Property Value
|
Improve this Doc
View Source
FrontWall
The wall directly in front of the player if he's hanging
Declaration
public AdjacentSurface FrontWall { get; }
Property Value
|
Improve this Doc
View Source
HeadHitDistance
Declaration
public float HeadHitDistance { get; }
Property Value
|
Improve this Doc
View Source
HeadHitRadius
Declaration
public float HeadHitRadius { get; }
Property Value
|
Improve this Doc
View Source
HeadRaycastHit
Declaration
public RaycastHit HeadRaycastHit { get; }
Property Value
|
Improve this Doc
View Source
HitSomethingInFront
Declaration
public bool HitSomethingInFront { get; }
Property Value
|
Improve this Doc
View Source
SideWall
The wall on a side wrapped around an inside corner or outside corner while climbing.
Declaration
public AdjacentSurface SideWall { get; }
Property Value
|
Improve this Doc
View Source
StepHitDistance
Declaration
public float StepHitDistance { get; }
Property Value
|
Improve this Doc
View Source
WallDetachedVector
Saved WallGrab vector after detaching from a wall.
Declaration
public Vector3 WallDetachedVector { get; }
Property Value
Methods
|
Improve this Doc
View Source
CutAndPasteAboveBehindWallTo(ref Vector3)
Delete Scanner's AboveBehindWall after copying the direction of the wall to it
Declaration
public void CutAndPasteAboveBehindWallTo(ref Vector3 WallDirection)
Parameters
Type |
Name |
Description |
Vector3 |
WallDirection |
The vector to be copied to
|
|
Improve this Doc
View Source
CutAndPasteBelowBehindWallTo(ref Vector3)
Declaration
public void CutAndPasteBelowBehindWallTo(ref Vector3 WallDirection)
Parameters
Type |
Name |
Description |
Vector3 |
WallDirection |
|
|
Improve this Doc
View Source
CutAndPasteFrontUnderCeilingTo(ref Vector3)
Declaration
public void CutAndPasteFrontUnderCeilingTo(ref Vector3 CeilingDirection)
Parameters
Type |
Name |
Description |
Vector3 |
CeilingDirection |
|
|
Improve this Doc
View Source
CutAndPasteFrontWallTo(ref Vector3)
Declaration
public void CutAndPasteFrontWallTo(ref Vector3 WallDirection)
Parameters
Type |
Name |
Description |
Vector3 |
WallDirection |
|
|
Improve this Doc
View Source
CutAndPasteVectorToDetached(ref Vector3)
Declaration
public void CutAndPasteVectorToDetached(ref Vector3 wallGrab)
Parameters
Type |
Name |
Description |
Vector3 |
wallGrab |
|
|
Improve this Doc
View Source
FindAdjacentSurface(Vector3, Vector3, PlayerMoveScanner.RotationDirection)
Finds the adjacent surface to the one that the player is on.
Declaration
public void FindAdjacentSurface(Vector3 origin, Vector3 direction, PlayerMoveScanner.RotationDirection turnDirection)
Parameters
|
Improve this Doc
View Source
FindHeadHit(Ray)
Declaration
public bool FindHeadHit(Ray ray)
Parameters
Type |
Name |
Description |
Ray |
ray |
|
Returns
|
Improve this Doc
View Source
FindStep(Vector3)
Detects information about where the player is going to step via SphereCast downwards, Dispaced toward moveDirection
Declaration
public void FindStep(Vector3 moveDirection)
Parameters
Type |
Name |
Description |
Vector3 |
moveDirection |
|
|
Improve this Doc
View Source
ResetAdjacentSurfaces()
Declaration
public void ResetAdjacentSurfaces()
|
Improve this Doc
View Source
SetHitSomethingInFront()
Declaration
public void SetHitSomethingInFront()
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)