Simulating gravity can make for a fun game mechanic. In this video using Bolt visual scripting and Unity I simulate gravity using gravity sources and gravitational bodies each with their own script that can be mixed and matched. Orbits are also implemented by adding initial velocity. Gravity manager 1:08, universal law of gravity 8:18, creating orbits 15:21.
Planets Pack: https://assetstore.unity.com/packages...
Cartoon Asteroids Pack: https://assetstore.unity.com/packages...
Bolt on the Asset Store: https://assetstore.unity.com/packages...
OWS Merch (WIP)
Hoodie, T-Shirts and Stickers: http://merch.onewheelstudio.com
Discord: http://discord.onewheelstudio.com
Patreon: / onewheelstudio
Twitter: / onewheelstudio
Devlog: https://onewheelstudio.com/
Twitch: / onewheelstudio
#boltvisualscripting #unitytutorial #gamedevelopment Become A Channel Member: / @onewheelstudio My video and streaming kit: https://kit.co/onewheelstudio/tutoria...