how to spawn polygons at point
5 posts • Page 1 of 1
how to spawn polygons at point
I am trying to make a tank and i would like to know how to spawn boxes at the end of my barrel as a gun because i have no clue at all
- mrmegawarrior
- Posts: 80
- Joined: Wed Aug 25, 2010 6:25 am
Re: how to spawn polygons at point
viewtopic.php?f=14&t=599 basic code here
You can either make them move by editing the vel variable to be inline with the angle of the barrel or you can just get a strong negative attraction pushing it away.
You can either make them move by editing the vel variable to be inline with the angle of the barrel or you can just get a strong negative attraction pushing it away.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: how to spawn polygons at point
thanks but 1 more question. how do i set the firing angle to match the barrel?
- mrmegawarrior
- Posts: 80
- Joined: Wed Aug 25, 2010 6:25 am
Re: how to spawn polygons at point
Mystery wrote:You can either make them move by editing the vel variable to be inline with the angle of the barrel or you can just get a strong negative attraction pushing it away.
TheWinkits wrote:They both looks of cuking amazing
-

Chronos - [Most Active Member 2010]
- Posts: 4457
- Joined: Mon Aug 31, 2009 6:00 pm
- Location: Californania
Re: how to spawn polygons at point
Did i do something wrong?
From memory it is pretty simple if you know your math. I can't really be bother to dig around for the code look though algobox it shouldn't be hard to find.
EDIT: If you care enough you can rummage though this for the code just give credit to pixartist.
From memory it is pretty simple if you know your math. I can't really be bother to dig around for the code look though algobox it shouldn't be hard to find.
EDIT: If you care enough you can rummage though this for the code just give credit to pixartist.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests




