3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: 360* gravity  (Read 641 times)

« on: March 25, 2013, 07:33:14 AM »
How can I make something stick to a wall where ever it is?
For example if I am in a tunnel, and want to drive on the roof, how would I do that?
« Reply #1 on: March 25, 2013, 04:42:23 PM »
Come off it redfox, or whatever you are going to name yourself next. You know have been on the forum long enough to know that this question has been asked and answered a million times. It can only be done with script, and if you look into fourdee's Tron game you will see how it's done.

So what's your point in asking this question? I don't get it.
« Last Edit: March 25, 2013, 04:52:34 PM by XingBat »
« Reply #2 on: March 25, 2013, 05:16:53 PM »
Just make the G Force to follow you moving. Fourdee game is only made with a script so you coulnd use the same way.  And yes, it has been answered, it can be made with a script but you could use a force instead of g force.... so just attach force to your object and make it follow you object and voila. allways try to think out side the box, use different ways to get your goals. Want a demo?
« Last Edit: March 25, 2013, 05:20:29 PM by Le[X] »
« Reply #3 on: March 26, 2013, 12:10:05 AM »
No thanks.

Thanks for help.  I am making a couple of games at the moment, and just wasn't sure on a few things.
« Reply #4 on: March 26, 2013, 05:39:39 AM »
I have just found a project by jessyermon, called gravity toy----

Site:3drad.com/forum gravity toy

This is what I was looking for pretty much.

I'll look at that and see what I can learn :)

Thanks to 4D , and led for helping me. :)

Quick question, as I am unable to use foundry site, can Simone ask jess if I can use her demo? Its open source but I just want to make sure.

Thanks
« Reply #5 on: April 17, 2013, 09:09:24 PM »
You can also try this, Use a scanner which is pointing downwards under the car, and then use it to detect of there is any surface under the car, then use an impostor object to spawn a impostor gravity object under the car. you should then set the number of maximum imposters to 1 so that so many gravity objects will not make the car go all wacky.

I have not tried it, But i think it should work as expected, and if it doesn't then enable radial mode, in the gravity settings.
« Reply #6 on: April 18, 2013, 12:08:46 AM »
Go ahead and use the toy. All the stuff here free for everyone, unless they say otherwise.

L2P a radial gravity object to to your car with LocalToParent(CAR,GRAVITY,Vector3(0,0,0),Vector3(0,-10,0));
and the gravity will follow you around, forcing the car "down". Remember to link the car to the gravity, and not link it to any other gravity = that's how the "toy" works.


Pages: [1]