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

Inherits CrossLink.FlyObject.

Public Member Functions

override void OnCollisionWithPlayer (Collision collision, InteractCharacter player)
 
override void OnCollisionWithPlayerHand (Collision collision, InteractHand hand)
 
override void OnCollisionWithRole (FullCharacterControl fc, RagdollMuscle mu, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel)
 Collision with role. More...
 

Public Attributes

float freezeSec = 3
 
float flySpeed = 3f
 

Additional Inherited Members

Member Function Documentation

◆ OnCollisionWithRole()

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