mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 09:24:06 +02:00
particles
This commit is contained in:
parent
2fb318cc53
commit
1134d12ea0
1 changed files with 4 additions and 7 deletions
|
@ -399,10 +399,7 @@ function MyController(hand) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
//test particles instead of overlays
|
//test particles instead of overlays
|
||||||
|
|
||||||
|
|
||||||
this.handleParticleBeam = function(position, orientation) {
|
this.handleParticleBeam = function(position, orientation) {
|
||||||
|
|
||||||
var rotation = Quat.angleAxis(0, {
|
var rotation = Quat.angleAxis(0, {
|
||||||
|
@ -435,11 +432,11 @@ function MyController(hand) {
|
||||||
"green": 118.52941176470593,
|
"green": 118.52941176470593,
|
||||||
"blue": 255
|
"blue": 255
|
||||||
},
|
},
|
||||||
"maxParticles": 1000,
|
"maxParticles": 2000,
|
||||||
"lifespan": 3,
|
"lifespan": 3,
|
||||||
"emitRate": 20,
|
"emitRate": 50,
|
||||||
"emitSpeed": 10,
|
"emitSpeed": 2,
|
||||||
"speedSpread": 0,
|
"speedSpread": 0.1,
|
||||||
"emitOrientation": {
|
"emitOrientation": {
|
||||||
"x": -0.7000000000000001,
|
"x": -0.7000000000000001,
|
||||||
"y": 0,
|
"y": 0,
|
||||||
|
|
Loading…
Reference in a new issue