Intersect Orbit Demo

An asset by exuin
The page banner background of a mountain and forest
Intersect Orbit Demo hero image

Quick Information

0 ratings
Intersect Orbit Demo icon image
exuin
Intersect Orbit Demo

Demo for Godot 3.2.3 showing how to intersect an object in an orbit by calculating the trajectory using binary search.

Supported Engine Version
3.2
Version String
1.0.0
License Version
CC0
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL

Intersect Orbit Demo

Demo for Godot 3.2.3 showing how to intersect an object in an orbit by calculating the trajectory using binary search.

Some notes

  • The planet's local position is at (0, 0) and it moves because it's rotated around its offset.
  • The spaceship can fly through the star.
  • The calculated trajectory gets more inaccurate when the planet is further from the ship.
  • You can probably do this with an equation as well but I couldn't solve the equation.

Credits

Pixel Planet Generator by Deep-Fold

Spaceship Shooter Environment by ansimuz

SPACE by VECTORSTARPIXEL

StackExchange answer by DMGregory

Silver by Poppy Works

Thaleah Fat by Tiny Worlds

Demo for Godot 3.2.3 showing how to intersect an object in an orbit by calculating the trajectory using binary search.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Intersect Orbit Demo icon image
exuin
Intersect Orbit Demo

Demo for Godot 3.2.3 showing how to intersect an object in an orbit by calculating the trajectory using binary search.

Supported Engine Version
3.2
Version String
1.0.0
License Version
CC0
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers