mirror of
https://github.com/overte-org/overte.git
synced 2025-07-22 21:28:54 +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
|
||||
|
||||
|
||||
this.handleParticleBeam = function(position, orientation) {
|
||||
|
||||
var rotation = Quat.angleAxis(0, {
|
||||
|
@ -435,11 +432,11 @@ function MyController(hand) {
|
|||
"green": 118.52941176470593,
|
||||
"blue": 255
|
||||
},
|
||||
"maxParticles": 1000,
|
||||
"maxParticles": 2000,
|
||||
"lifespan": 3,
|
||||
"emitRate": 20,
|
||||
"emitSpeed": 10,
|
||||
"speedSpread": 0,
|
||||
"emitRate": 50,
|
||||
"emitSpeed": 2,
|
||||
"speedSpread": 0.1,
|
||||
"emitOrientation": {
|
||||
"x": -0.7000000000000001,
|
||||
"y": 0,
|
||||
|
|
Loading…
Reference in a new issue