Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: aldo_14 on May 18, 2006, 03:45:59 pm

Title: "Affected by gravity" - implemented?
Post by: aldo_14 on May 18, 2006, 03:45:59 pm
Search doesn't turn up any indicator it is, but figure I should check anyways in case I've missed something (as I am wont to do)
Title: Re: "Affected by gravity" - implemented?
Post by: Shadow0000 on May 18, 2006, 10:27:48 pm
Is this supposed to be related to Models with a $Name: Planet xxxxx or so ?...I have tried but it doesn't seem to work my ship isn't attracted to it (even with a really good quantity in Mass' POF). I wonder if this is implemented, and if it is what it does ?
Title: Re: "Affected by gravity" - implemented?
Post by: aldo_14 on May 19, 2006, 07:32:38 am
Is this supposed to be related to Models with a $Name: Planet xxxxx or so ?...I have tried but it doesn't seem to work my ship isn't attracted to it (even with a really good quantity in Mass' POF). I wonder if this is implemented, and if it is what it does ?

The search results indicated not, but the search results were all more than a good few months old.
Title: Re: "Affected by gravity" - implemented?
Post by: Wanderer on May 19, 2006, 08:45:22 am
You can script something like that...
Title: Re: "Affected by gravity" - implemented?
Post by: Goober5000 on May 19, 2006, 09:46:05 pm
It doesn't really do anything yet.  But it will, once I get around to adding gravity points. :)
Title: Re: "Affected by gravity" - implemented?
Post by: DaBrain on May 20, 2006, 06:36:34 am
These 'points'... can they be planar layers too? ;)
Title: Re: "Affected by gravity" - implemented?
Post by: Goober5000 on May 20, 2006, 10:26:45 am
No.  Gravity is calculated from point sources. :p

What you could do is set one gravity point in the center of the plane, but really far away.
Title: Re: "Affected by gravity" - implemented?
Post by: karajorma on May 20, 2006, 05:22:57 pm
Exactly. In real life gravity works from a point source (at least as far as spherical objects are concerned) so unless you're planning on having very weirdly shaped objects that need gravity you should be fine with points. :)
Title: Re: "Affected by gravity" - implemented?
Post by: jr2 on May 21, 2006, 01:36:49 am
Side question: would a big ship like the Colossus or the Sathanas-class have enough mass to affect a slight gravity pull on fighters and/or each other?
Title: Re: "Affected by gravity" - implemented?
Post by: Mars on May 21, 2006, 01:38:23 am
No, not a noticable one, unless there's somthing more at work (how do Shivan engines work, anyway?)

Does this mean my missiles are going to fall down and hit the planet (maybe this is why warheads detonate when they reach their maximum range, it'd be a pitty to hit the planet your trying to protect with a Helios, or a Harbinger).