Sign in to follow this  

The AI in my game engine tries to learn to fly a space ship (video)

This topic is 1698 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

http://youtu.be/XQh64rSkrJE

 

This is the result of putting an AI in the ship that attempts to keep the ship level when balls are thrown at it.  The ship has 13 thrusters total, which the AI fires off to apply torque to attempt to counteract its change in orientation and velocity.  The results are amusing.

Share this post


Link to post
Share on other sites

http://youtu.be/XQh64rSkrJE

 

This is the result of putting an AI in the ship that attempts to keep the ship level when balls are thrown at it.  The ship has 13 thrusters total, which the AI fires off to apply torque to attempt to counteract its change in orientation and velocity.  The results are amusing.

It was doing so well! :(

Share this post


Link to post
Share on other sites

I was trying to make a PID controller for keeping it level, but it's not stable so it begins to oscillate further and further until it passes a threshold and explodes.

Share this post


Link to post
Share on other sites

Impressive. Unstable equilibrium FTW! The explosion at the end is strangely fitting.

Share this post


Link to post
Share on other sites

Show that to someone who's scared of flying and then tell him "don't worry, we're on autopilot!"

Share this post


Link to post
Share on other sites
It's perfect. Who's ever had a giant ball thrown at them while they piloted a hovering spaceship? I bet that same thing happens.

Share this post


Link to post
Share on other sites

Some ships will crash when just a bird hits them!

Share this post


Link to post
Share on other sites
Sign in to follow this