Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Need to make a 2D program 3D

Author
Message
Barry Pythagoras
12
Years of Service
User Offline
Joined: 14th Mar 2014
Location:
Posted: 14th Mar 2014 16:56
This code creates a flat circle. I need to change it into a sphere. I have tried, but I sort of get a mess. How do I add the Z to it?


Graysire
12
Years of Service
User Offline
Joined: 18th Oct 2013
Location:
Posted: 14th Mar 2014 18:00
make object sphere?
Barry Pythagoras
12
Years of Service
User Offline
Joined: 14th Mar 2014
Location:
Posted: 14th Mar 2014 18:05
I mean that parts of the code are for X/Y like this...


I need to add z to them to get a sphere of mini sphere.
Barry Pythagoras
12
Years of Service
User Offline
Joined: 14th Mar 2014
Location:
Posted: 14th Mar 2014 18:08
Then I need the physics to work in 3D too like Gravity, and repulsion.

Login to post a reply

Server time is: 2026-07-06 04:29:36
Your offset time is: 2026-07-06 04:29:36