These forums are CLOSED. Please visit the new forums HERE
Particle pointer |
|
|
Itoku Kamachi
Registered User
Join date: 3 Mar 2007
Posts: 5
|
04-20-2007 17:50
I would like to make a pointer that will stream particles at the mouseview point. I know how to make the particle stream, I just can't figure out what to use for a target since it is not actually a target but a point in space in front of me.
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
04-21-2007 11:33
I would like to make a pointer that will stream particles at the mouseview point. I know how to make the particle stream, I just can't figure out what to use for a target since it is not actually a target but a point in space in front of me. This is doable to a certain degree. you need to create a follower "Bot" that gets your camera position and rotation and shoots a stream of particles straight forward. make the bot an invisiprim and it will appear like your camera is constantly transmitting a set of particles forward. alternatively if you just want this to work in mouselook you can have an invisible attachment at waist height streaming particles forward and adjusting rotation according to the avatar's rotation. _____________________
My SLExchange shop
Typos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work. |
|
Itoku Kamachi
Registered User
Join date: 3 Mar 2007
Posts: 5
|
Particle pointer
04-21-2007 13:55
Thanks for responding. Here is the particle system params I use to create the 'laser' beam:
[PSYS_PART_FLAGS,0 | PSYS_PART_FOLLOW_SRC_MASK | PSYS_PART_FOLLOW_VELOCITY_MASK | PSYS_PART_TARGET_LINEAR_MASK | PSYS_PART_INTERP_COLOR_MASK | PSYS_PART_INTERP_SCALE_MASK | PSYS_PART_TARGET_POS_MASK, PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_DROP, PSYS_PART_START_ALPHA, 1.0, PSYS_PART_START_COLOR, <1.0, 0.0, 0.0>, PSYS_PART_END_ALPHA, 1.0, PSYS_PART_END_COLOR, <0.0, 1.0, 0.0>, PSYS_PART_START_SCALE, <0.05, 0.25, 0>, PSYS_PART_END_SCALE, <0.05, 0.25, 0>, PSYS_SRC_ACCEL, <0, 0, 0>, PSYS_SRC_OMEGA, <0, 0, 0>, PSYS_PART_MAX_AGE, 1.0, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_ANGLE_BEGIN, 0.0, PSYS_SRC_ANGLE_END, 360.0, PSYS_SRC_BURST_PART_COUNT, 1, PSYS_SRC_BURST_RADIUS, 0.0, PSYS_SRC_BURST_RATE, 0.05, PSYS_SRC_BURST_SPEED_MIN, 0.0, PSYS_SRC_BURST_SPEED_MAX, 0.0, PSYS_SRC_TARGET_KEY, llGetOwner(), PSYS_SRC_TEXTURE, "34f2d0b0-6afd-c141-9562-b2d12d24ae4b" ] (I picked this up off the forum here). My problem is that I don't know what to use for a target in order to get the particle beam to shoot straight forward. I have a working camera follower bot so I just need to get this particle stream to go. I am real new to particle doings in case you couldn't tell. Thanks Itoku |