I need help creating a fake laser using projectiles since i need it to have a detonation effect.
here is a screenshot of the current effect.
Problems are circled
what i need is it to create a straight beam from Point A(Green) to Point B(Light Blue) without the bend (Pink)
length shouldnt be hard to fix.
I know i have to use a particle system (what i am using now) but not sure how to get it to fly in a straight line. I am assuming the problem lies within the projectile itself since the particle is just folowing an invisible projectile.
here is the projectiles code.
Code:
Object PrismStreamProjectile
Draw = W3DModelDraw ModuleTag_01
DefaultConditionState
Model = NONE
End
End
EditorSorting = SYSTEM
VisionRange = 0.0
ArmorSet
Conditions = None
Armor = ProjectileArmor
DamageFX = None
End
KindOf = PROJECTILE
Body = ActiveBody ModuleTag_02
MaxHealth = 100.0
InitialHealth = 100.0
End
Behavior = DestroyDie ModuleTag_03
;nothing
End
Behavior = PhysicsBehavior ModuleTag_04
Mass = 1
AllowCollideForce = Yes
End
Behavior = MissileAIUpdate ModuleTag_05
;TryToFollowTarget = Yes
UseWeaponSpeed = Yes
DetonateOnNoFuel = No
DistanceToTravelBeforeTurning = 0
End
Locomotor = SET_NORMAL PrismStreamLocomotor
Behavior = BoneFXUpdate ModuleTag_06
PristineParticleSystem1 = bone:NULL OnlyOnce:Yes 0 0 PSys:PrismBeamParticle01
End
Behavior = BoneFXDamage ModuleTag_07
;nothing
End
Geometry = Sphere
GeometryIsSmall = Yes
GeometryMajorRadius = 1
End
Not sure what i need to fix to make it fly straight at the target with no turning or lowering of altitude (except for it going to target).
If you need any of the other code just let me know. Thanks in advance