User Tools

Site Tools


move:selfappliedforce

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
move:selfappliedforce [2014/01/09 02:23]
Mistermind
move:selfappliedforce [2021/04/26 23:29] (current)
Mistermind
Line 3: Line 3:
  
 {{ :move:move_force.jpg?nolink |}} {{ :move:move_force.jpg?nolink |}}
 +
 +----
  
 **Casting Frame:** When during the move should the force be applied. **Casting Frame:** When during the move should the force be applied.
Line 14: Line 16:
 ---- ----
 Code example: Code example:
-<code c#>void OnHit(HitBox strokeHitBox, MoveInfo move, CharacterInfo hitter){+<code c#>void OnHit(HitBox strokeHitBox, MoveInfo move, ControlsScript hitter){
  foreach(AppliedForce appliedForce in move.appliedForces){  foreach(AppliedForce appliedForce in move.appliedForces){
  Debug.Log("Casting Frame:" + appliedForce.castingFrame);  Debug.Log("Casting Frame:" + appliedForce.castingFrame);
move/selfappliedforce.1389252205.txt.gz · Last modified: 2014/01/09 02:23 by Mistermind