BerganJoin Date: 2007-11-23 Post Count: 4942 |
I've seen a couple gravity-related suggestions, but I came up with my own idea.
It would be an object known as GravityField. It can be added to the Workspace. A GravityField is similar to a brick, but it's a region that affects anything inside of it.
Properties:
Position - Self-explanatory.
Size - How large the affected area is.
Shape - Sphere or Block. This is the shape of the region affected.
Direction - Which way it faces. Has 7 possibilities:
-Top - In the direction of the top surface.
-Bottom - In the direction of the bottom surface.
-Left - In the direction of the left surface.
-Right - In the direction of the right surface.
-Front - In the direction of the front surface.
-Back - In the direction of the back surface.
-Center - Toward the center of the field; in relation to Position.
Rotation - Works like a normal brick. Applies to the Direction property.
Strength - Ranges from -1 to 1. -1 is the strongest outward, 1 is the strongest inward, and 0 means normal gravity (Good for if a script were to activate/deactivate the field.)
Possibly also an Anchored property to make things interesting; otherwise it's always anchored. |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
Bump |
|
wind_oJoin Date: 2013-01-05 Post Count: 2027 |
Like a conveyor?
Cool.
Support, I love new kinds of parts, so I can mess with them. |
|
A_pathJoin Date: 2011-04-07 Post Count: 315 |
Cool,
could be useful for space-related builds. |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
Sort of, though it's a change in the direction/strength of gravity. |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
It could also work for obstacle courses, battling games, etc. Can definitely make Roblox more fun! |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
Bump again. |
|
|
You should study orbital mechanics, it makes it more interesting. Imagine being able to swing blocks around a planet, if they're fast enough they can orbit it, if its too fast it could swing out of orbit or become eliptical, or if too slow it will be sub orbital and hit the ground. Very nice idea, also a sphere of influence type thing if you didn't already mention it. Sphere of influence is basically the field where gravity effects although the further away from the field the weaker the gravity and the closer the stronger. This would also effect different mass blocks. |
|
|
XenonLiJoin Date: 2009-08-19 Post Count: 5013 |
all of these gravity ideas are good
all of them are equally applicable to gameplay |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
The problem is, scripted physics are not very compatable with Roblox. An update such as one on performance or physics can alter the affects of such scripting, even breaking it. A physics feature, on the other hand, is more compatable. In fact, a feature has the chance of being fixed by the developers themselves instead of scripters, if it were to be hindered by another update.
As for the gradual strength effect, that would probably have to be a bool value. If it's true, it has gradual strength that ranges from one point to another/others. If it's false, gravity is the same strength in the entire region. Gradual gravity's effectivity would depend on the size of the field. So, there's an addition to the concept. |
|
|
Is it just spherical gravity or can you have flat gravity? |
|
CoriandrJoin Date: 2014-06-25 Post Count: 6850 |
Support.
~Snowman Wannabe |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
There can be flat gravity. The first 6 choices in the Direction property would all be flat. The seventh is spherical. |
|
|
Oh ok I thought when you said that you mean the gravity is coming from there. |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
Well, it sort of does come from the center. If the field were 30 by 10 by 10, it would be in a region 3000 cubic studs, with the center in field's position. It's the center of the region, not the center of the direction (unless it is set to spherical).
This would mean that a field's max size would be up to around 2,000 studs in each direction (as parts are limited to this, last time I checked) but I doubt anyone would need one that big. Besides, there could be more than one. |
|
|
XD I would most likely need a gravity field that large, I think Roblox needs to increase the max part size from 2048 to something far bigger, I just wanna experience making large planetoids and building on them. |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
I never thought of that.
Maybe there could be a multiplier property ranging from 0 to 5, with 1 being default. |
|
|
"The problem is, scripted physics are not very compatable with Roblox. An update such as one on performance or physics can alter the affects of such scripting, even breaking it."
Code is code. In theory it shouldn't matter. |
|
CoriandrJoin Date: 2014-06-25 Post Count: 6850 |
Der,
the difference is, ROBLOX can mess with the key parts and how it completely works; unlike us. With the tools ROBLOX gives us, it's different than if ROBLOX themselves did it.
~Snowman Wannabe |
|
TixPileJoin Date: 2013-06-25 Post Count: 7310 |
mmmmmmmmmmmm |
|
BerganJoin Date: 2007-11-23 Post Count: 4942 |
I didn't mean the scripts themselves, but the effects that the scripts create. No matter what update,scripts will cause effects when and where they says so.
However, even though the scripts' values are constant, the Workspace's reactions to the scripts are not constant. Physics and performance updates can change things such as the speed of a movement, the force of collision, or the vertex of a the trajectory of a brick propelled upward.
|
|
|
"the difference is, ROBLOX can mess with the key parts and how it completely works; unlike us. With the tools ROBLOX gives us, it's different than if ROBLOX themselves did it."
If you want to know how it completely works, you can use a memory reader and learn Assembly and read Roblox's code. But that's not what I was saying. The only reason it's 'so slow' for us to develop is because Lua is interpreted. It's not slow, this implementation is slower than C++. Really all gravity is (behind the scenes) is a force being pulled down.
I feel they should allow us to disable certain physics an implement our own.
"I didn't mean the scripts themselves, but the effects that the scripts create. No matter what update,scripts will cause effects when and where they says so. "
Not sure what you're getting at here. That's the point of scripting, and programming in general.
"However, even though the scripts' values are constant, the Workspace's reactions to the scripts are not constant. "
This is not true. This depends on how you want to do things. |
|
FraxienJoin Date: 2013-04-21 Post Count: 612 |
Support this. Would be awesome. |
|
CoriandrJoin Date: 2014-06-25 Post Count: 6850 |
"This is not true. This depends on how you want to do things."
err
You just said it wasn't true, and then agreed that it is but you have to do things 'right'. ;-;
Either way, it doesn't 'depend', no matter what, with user-created things, Workspace is going to lag and not do things instantly as you want them to.
~Snowman Wannabe |
|