GitHub
Quarks VFX
Preparing search index...
The search index is not available
Documentation
Documentation
quarks.core
ApplyCollision
Class ApplyCollision
Apply collision to particles from a physics resolver.
Implements
Behavior
Index
Constructors
constructor
Properties
bounce
resolver
tempV
type
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
Constructors
constructor
new
ApplyCollision
(
resolver
:
PhysicsResolver
,
bounce
:
number
)
:
ApplyCollision
Parameters
resolver
:
PhysicsResolver
bounce
:
number
Returns
ApplyCollision
Properties
bounce
bounce
:
number
resolver
resolver
:
PhysicsResolver
tempV
tempV
:
Vector3
= ...
type
type
:
string
= 'ApplyCollision'
Methods
clone
clone
()
:
Behavior
Returns
Behavior
frame
Update
frameUpdate
(
delta
:
number
)
:
void
Parameters
delta
:
number
Returns
void
initialize
initialize
(
particle
:
Particle
)
:
void
Parameters
particle
:
Particle
Returns
void
reset
reset
()
:
void
Returns
void
toJSON
toJSON
()
:
any
Returns
any
update
update
(
particle
:
Particle
,
delta
:
number
)
:
void
Parameters
particle
:
Particle
delta
:
number
Returns
void
Static
fromJSON
fromJSON
(
json
:
any
)
:
Behavior
Parameters
json
:
any
Returns
Behavior
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bounce
resolver
tempV
type
Methods
clone
frame
Update
initialize
reset
toJSON
update
fromJSON
GitHub
Quarks VFX
Documentation
Loading...
Apply collision to particles from a physics resolver.