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

Public Types

enum class  FreeAxis { None , X , Y , Z }
 

Public Member Functions

bool IsSideGeo ()
 
bool CanNotBuildStab ()
 
void Init ()
 
Vector3 GetPointTip (Transform obj)
 
Vector3 GetGeoPoint (Transform obj)
 
Vector3 GetDecalUp (Transform obj, Quaternion rot)
 
Vector3 GetThickWorld (Transform obj)
 
Vector3 GetForwardWorld (Transform obj)
 
Vector3 GetSliceDir (Transform obj)
 
Vector3 GetSideWorld (Transform obj)
 
bool IsDirRight (Transform obj, Vector3 dir)
 
bool IsInTheBox (Transform obj, Vector3 stabPos)
 

Public Attributes

float geoFwdDis = 0.1f
 
float thickness = 0.08f
 
float geoWidth = 0.5f
 
Vector3 geoPoint
 
Vector3 geoForward = Vector3.forward
 
Vector3 geoThick = Vector3.up
 
Vector3 sliceDir = Vector3.zero
 
float stabMin = -0.08f
 
float stabMax = -0.2f
 
float stabTie = -0.12f
 
float stabDot = 0.5f
 
float stabHandVelSqrtRequire = 3.5f * 3.5f
 
float stabSlideFactor = 1000
 
Collider[] cols
 
Rigidbody subObj
 
Transform subObjTrans
 
int sideGeo = -1
 
bool noStabOut = false
 
bool isBlade = true
 
FreeAxis freeAxis = FreeAxis.None
 
FreeAxis freeAxisSlice = FreeAxis.None