View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 20.04.2012, 00:36Posts: 6 Likes: 0
 

 Post Topic: Could someone make this work?
PostPosted 25.04.2012, 14:06 
Could someone look over this and make it work, it kinda works atm but doesn't aim where I want it to and is very eh. This is like my third day on the editor and I pretty much based this all stuff I learnt from garrys mod.

EDIT: If you change the the raycast position to the position of local player and set the roll to 180 in the Math:dirtoAngles that fixes a couple of problems, one of it being upside down. Now it aims at players aim position at a certain angle, really well. A problem that has a risen is that the particle effect of the shooting is in the middle of the gun, not the end of the barrel.
Attachments:

Untitled.jpg