Gravity

Technical questions, etc..
User avatar
W!ZARD
Petty Officer First Class
Posts: 42
Joined: 23 May 2009, 08:31
Type the number ten into the box: 0
Location: Otautahi, Aotearoa

Gravity

Post by W!ZARD »

Yes OK I admit it - I'm a user! I only come here when I find a tS problem I can't solve! I hope ya'll will forgive me but I have an interesting question for the tS boffins regarding gravity and physics.

Essentially what I would like to do is create a real-time scene where the gravity is cylindrical - I'd like to create an environment simulating a hollow cylinder spinning in space. Think "Babylon 5"/ "Rendezvous with Rama" etc where 'gravity' is created by spinning up a hollow cylinder so that centrifugal forces hold things (people, buildings etc) against the inner surface.

Ideally I would be able to roam around inside a large hollow tube in First Person Navigation mode where I would remain perpendicular to the inner surface.

I'm neither a mathematician or a programmer but it seems to me that gravity in tS is a fairly simple mathematical transform applied to selected objects in a linear and vertical direction. Is it possible to isolate that transform and write it so that gravity acts cylindrically.

I hope I'm being clear here and that someone with the appropriate knowledge and interest may be able to script something to do this.

It would be awesome to be able to create a Shared Space where you could look 'up' (ie toward the far side of the cylinder) and see other avatars wandering around 'upside down' above you.

Any thoughts or insights or other input to this question would be greatly appreciated - thanks in advance.

W!ZARD
Image WHERE MAGICK HAPPENS!!
User avatar
MikomDude
Captain
Posts: 1930
Joined: 04 Oct 2010, 11:12
Type the number ten into the box: 0
Location: The Hague, Netherlands

Re: Gravity

Post by MikomDude »

I want to know if this is possible as well. I never really use the physics engine that much but after I saw this post today, I started experimenting a little with the physics engine and found out how to do loads of cool stuff.
Here is one thing I made that I think no one would ever imagine had anything to do with a simple physics animation: vi ... =60&t=2902 ;)

Also, having some fun with the physics engine in shared space is a really good idea, sign me up for that as well :)
User avatar
spacekdet
Captain
Posts: 1810
Joined: 27 May 2009, 15:00
Type the number ten into the box: 10
Location: On the day shift at the Utility Muffin Research Kitchen

Re: Gravity

Post by spacekdet »

Been reading Rendezvous with Rama?
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: Gravity

Post by froo »

Hm I cannot remember if there were problems with physics in shared space or not.
Maybe the only thing that happened was, lags. Meaning, I would type something, and it would take forever for the text to show up.

Nonetheless. Yeah physics is pretty cool stuff. Somewhere around here I mentioned that it is
possible to use assign physics properties to fluid simulations, and the fluid will work as expected.
I had a sample test scene where the fluid pushed a cube. Very cool.

I have not had FrooServe running for the last 8 months or so because we had to move from this jackleg house (yeah still bitter; does it show?) and we have a wireless router which does not work so well. Sooo... I want to run a LAN cable from the router to downstairs, but I need help from the homeowner. He is a contractor so he runs electronics cables through walls all the time. I just need to supply the materials: LAN cables, connectors, wall outlets, etc. He's the man! But once I can get this wired correctly I'd like to get FrooServe going again.
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Gravity

Post by trueBlue »

FPN has it's own Gravity.
Attachments
Capture.PNG
Capture.PNG (13.63 KiB) Viewed 3705 times
User avatar
W!ZARD
Petty Officer First Class
Posts: 42
Joined: 23 May 2009, 08:31
Type the number ten into the box: 0
Location: Otautahi, Aotearoa

Re: Gravity

Post by W!ZARD »

spacekdet wrote:Been reading Rendezvous with Rama?
Not recently but I've been a fan of Arthur C Clarke since I was a kid. I read the Rama books many years ago and I've always liked the idea of big space habitats in hollow asteroids. I've built several
Real Time environments in tS with this in mind but I've always felt constrained but tS gravity working in one direction (down rather than out :D ).
I'm hoping one of the bright scripting gurus out there can figure out a way to do it. If gravity could be set to be perpendicular to selected face normals rather than confined to the scene vertical axis it could be possible .....

Hey Froo - hope you got your housing woes sorted out - we start moving house tomorrow as the Earthquakes over the last year have pretty much destroyed the place we are in right now.

Hi trueBlue - good point about FPN having it's own gravity - if only we could set arbitrary directions for gravity on a per face or per object basis......
Image WHERE MAGICK HAPPENS!!

Return to “TechForum”