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 [2013/12/11 20:52]
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);
Line 23: Line 25:
  
  
-[[move:introduction|< Back to Move Editor]]+[[move:start|< Back to Move Editor]]
move/selfappliedforce.1386813147.txt.gz · Last modified: 2013/12/11 20:52 by Mistermind