[Request] homing rocket behavior

Post your work in progress addons and get feedback

Post » Tue Jul 19, 2016 6:36 pm

Aha, Ok, can i simulate missile earth to earth with bullet ?
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Tue Jul 19, 2016 6:58 pm

Yeah, you have to do the picking yourself.
rocket has los to planet
planet pick closest to rocket
rocket set angle to anglelerp(self.angle,angle(self.x,self.y,planet.x,planet.y), something*dt)
Image ImageImage
B
168
S
50
G
164
Posts: 8,228
Reputation: 105,575

Post » Tue Jul 19, 2016 7:20 pm

wow, thank you, i go for try it.
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Tue Jul 19, 2016 7:28 pm

i'm sorry , what is " something section?

can you share the capx? please!
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Tue Jul 19, 2016 7:48 pm

Image ImageImage
B
168
S
50
G
164
Posts: 8,228
Reputation: 105,575

Previous

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests