Battle Talent  V11
Public Member Functions | Public Attributes | Static Public Attributes | Events | List of all members
CrossLink.StabObject.StabInfo Class Reference

Public Member Functions

Vector3 GetStabPos ()
 
Vector3 GetStabDir ()
 
void UpdateStabSpring (float stabberProjDis, float stabMin, float stabMax)
 
void UpdateStabPosEvent (StabInfo sinfo, float curProjDis)
 
void UpdateStabSidePosEvent (StabInfo sinfo, float curProjDis)
 

Public Attributes

StabObject so
 
ConfigurableJoint joint
 
Transform stabTarget
 
Rigidbody stabTargetRB
 
Vector3 stabberLocalPos
 
Vector3 stabLocalPos
 
Vector3 stabLocalDir
 
float stabRealRangeOffset
 
StabGeometry stabGeo
 
float buildTime
 
System.Action< StabInfoonBreak
 
EffectObj stabEffect
 
bool bypassStabTie = false
 
float lastStabberProjDis = -1
 
bool isStabbingIn = true
 
float lastSliceProjDis = -1
 
bool allowPullAway = false
 
bool stuckStab = false
 

Static Public Attributes

const float DefaultAxisSpring = 3000
 
const float DefaultAxisSpringSide = 40000
 
const float DefaultAxisDamper = 300
 
const float DefaultAxisSliceSpring = 3000
 
const float DefaultAxisSliceDamper = 30
 
const float DefaultAxisRestSpring = 10000
 
const float DefaultAxisRestSpringSide = 80000
 
const float DefaultAxisRestDamper = 1000
 
const float StabPosUpdateInterval = 0.1f
 

Events

System.Action< StabInfo, float, int > StabPosUpdateEvent