Jump to content
Sign in to follow this  
YattaYatta

Best way to add a custom "laser" attached to an object ?

Recommended Posts

Hello again,

Im looking for the best way to add a "laser" to a player / vehicle. The laser is expect to work like a laser pointer gun attachement, except it should be visible by day too.

For now I have two possibilities :

1) Using "drawLine3D". But it needs a script that permanently redraws it so it follows the object its attached to, and it doesnt look nice (width & all). Also im not sure if it would work on an MP server (pretty sure I would have to call the high-rate script on all clients, which sounds bad).

2) Using custom resources. Adding a looooong mesh with no collisions that I would add as a game object. Except I dont know how to add objects / how such a modification is handled by clients : would that require a mod or can that be included in the mission's files ?

Thanks for your help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×