Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Answer This? A very complicated world gravity script.

Asked by 6 years ago

Okay so, I am currently working on an FPS were you travel the world in search of enemy forces. Now I have made an extremely large map for this, which is in the shape of a sphere, but is a model with other models inside of this. The main map is a model and I need to know one thing.

How would I make the player walk around on the sphere, and not fall off? I am not really the best at CFraming and stuff, especially with models which have no initial position. So if I could get some help with this, that'd be great!

This is sort of how the map is layed out:

in workspace, there is the map (named Map) which has 2 items in it. 1. A script to load and fix triangles 2. The polyhedron model itself(the main terrain or triangle layout)

now inside the polyhedron model there are the following objects:

  1. Coast (filled with triangle pieces in which meet the ocean and land)
  2. Grass (the second largest terrain filled with triangle pieces)
  3. Ice (more triangles)
  4. Sand (more triangles)
  5. Snow ( more triangles)
  6. Water (largest mass of terrain, which is also made in triangles.)
  7. THE CORE. In the inside of the map, there is a largely sized blue ball called Core. which is located in the middle of the earth.
0
Currently Roblox doesn't allow you to edit physics to that extreme so you would have to make your own World Physics by Setting the Boundaries and Limitations and You will need CFrame for the Custom Gravity Animation, I already tried looking and it doesn't seem possible. KenUSM 53 — 6y
0
Well it did previously work on a single sphere, so I was curious if it'd work on a model Albino_Albino 0 — 6y
1
Dunno if you can do that with regular gravity, but you can make the illusion of moving the character by moving the sphere, instead of the player. hiimgoodpack 2009 — 6y

Answer this question