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

Inherits CrossLink.FlyObject.

Inherited by CrossLink.BounceArrow, and CrossLink.FlyArrowStrong.

Public Member Functions

override void OnFinish ()
 
override void OnCollisionWithRole (FullCharacterControl fc, RagdollMuscle mu, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel)
 Collision with role. More...
 
virtual void OnShoot (float shootFactor)
 

Public Attributes

float shootSpeed = 12
 
StabObject stab
 

Protected Member Functions

void Reset ()
 
void Awake ()
 
override void ResetState ()
 
virtual void OnStab (StabObject.StabInfo sinfo)
 
override void OnCollisionWithScene (Collision collision)
 

Additional Inherited Members

Member Function Documentation

◆ OnCollisionWithRole()

override void CrossLink.FlyArrowBase.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.