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 1: Line 1:
 ====== Self Applied Forces ====== ====== Self Applied Forces ======
-Use this to apply forces to the character during the move. Useful when creating moves like uppercuts (//dragon punches//Dash Punches, slides, divekicks, etc. Any move that needs to push your character in one of many directions.+Use this to apply forces to the character during the move. Useful when creating moves like uppercuts (//dragon punches//), dash punches, slides, divekicks, etc. Any move that needs to push your character in one of many directions.
  
 {{ :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.1386813131.txt.gz · Last modified: 2013/12/11 20:52 by Mistermind