mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
parent
cfe501c338
commit
d17c004787
1 changed files with 2 additions and 2 deletions
|
@ -333,10 +333,10 @@ var Body = new Class({
|
|||
this.allowDrag = true;
|
||||
|
||||
/**
|
||||
* Absolute loss of velocity due to movement, in pixels per second squared.
|
||||
* When `useDamping` is false (the default), this is absolute loss of velocity due to movement, in pixels per second squared (a vector).
|
||||
* The x and y components are applied separately.
|
||||
*
|
||||
* When `useDamping` is true, this is 1 minus the damping factor.
|
||||
* When `useDamping` is true, this is 1 minus the damping factor (a number).
|
||||
* A value of 1 means the Body loses no velocity.
|
||||
* A value of 0.95 means the Body loses 5% of its velocity per step.
|
||||
* A value of 0.5 means the Body loses 50% of its velocity per step.
|
||||
|
|
Loading…
Add table
Reference in a new issue