mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Don't kick particle effects when apply physics
This commit is contained in:
parent
4b63d8b7d9
commit
1f63425e9f
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ History = (function () {
|
|||
|
||||
function doKick(entityID) {
|
||||
var properties,
|
||||
NO_KICK_ENTITY_TYPES = ["Text", "Web", "PolyLine"], // These entities don't respond to gravity so don't kick them.
|
||||
NO_KICK_ENTITY_TYPES = ["Text", "Web", "PolyLine", "ParticleEffect"], // Don't respond to gravity so don't kick.
|
||||
DYNAMIC_VELOCITY_THRESHOLD = 0.05, // See EntityMotionState.cpp DYNAMIC_LINEAR_VELOCITY_THRESHOLD
|
||||
DYNAMIC_VELOCITY_KICK = { x: 0, y: 0.1, z: 0 };
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ Selection = function (side) {
|
|||
|
||||
function doKick(entityID) {
|
||||
var properties,
|
||||
NO_KICK_ENTITY_TYPES = ["Text", "Web", "PolyLine"], // These entities don't respond to gravity so don't kick them.
|
||||
NO_KICK_ENTITY_TYPES = ["Text", "Web", "PolyLine", "ParticleEffect"], // Don't respond to gravity so don't kick.
|
||||
DYNAMIC_VELOCITY_THRESHOLD = 0.05, // See EntityMotionState.cpp DYNAMIC_LINEAR_VELOCITY_THRESHOLD
|
||||
DYNAMIC_VELOCITY_KICK = { x: 0, y: 0.1, z: 0 };
|
||||
|
||||
|
|
Loading…
Reference in a new issue