Battle Talent  V11
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
CrossLink.FlySlash Class Reference

Inherits CrossLink.FlyObject.

Public Member Functions

override void OnSpawn (InteractBase ow, Vector3 dir, float vel=-1)
 
override void OnCollisionWithRole (FullCharacterControl fc, RagdollMuscle mu, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel)
 Collision with role. More...
 
override void OnCollisionWithPlayer (Collision collision, InteractCharacter player)
 

Public Attributes

bool destoryWhenHitEnv = false
 

Protected Member Functions

void FixedUpdate ()
 

Additional Inherited Members

Member Function Documentation

◆ OnCollisionWithRole()

override void CrossLink.FlySlash.OnCollisionWithRole ( FullCharacterControl  fc,
RagdollMuscle  mu,
Rigidbody  rb,
Collider  col,
Vector3  point,
Vector3  normal,
Vector3  relaVel 
)
virtual

Collision with role.

Parameters
fcFullCharacterControl of the role we hit.
muthe RagdollMuscle we hit.
rbThe Rigidbody of the object hit the role.
colThe Collider of the object hit the role.
pointThe impact point in world space.
normalThe normal of the surface the collider hit.
relaVelThe velocity of the object hit the role.

Reimplemented from CrossLink.FlyObject.