Couple Questions.

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2280
Joined: Tue Jan 02, 2007 12:38 pm

Couple Questions.

Post by Killer Wolf »

1) how does collision detection work in Oolite? i only as, cos it seems a bit erratic. this new model i'm making : i found out that a couple of the walls are just not being detected adn i can fly right through them. is there any little tricks i can do to avoid this? They're are walls from a subent bit, not the main model, if that means anything.

2) This asteroid i'm building....it's come out reversed. Charlie, anyone - have you come across this before on Milkshape models? i only noticed cos my asteroid, as opposed to my Vampires, is asymetrical - it's got a big lump on the right, but in the game it's on the left. the odd thing is, i used Milkshape to plot the positions of my flashers, and they came out right too : ie mapped in revers and thereby lining up w/ the reversed features? how the frick does that work?!

cheers...
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Couple Questions.

Post by JensAyton »

Killer Wolf wrote:
1) how does collision detection work in Oolite? i only as, cos it seems a bit erratic.
Eratically. :-) Sorry, I’m not familiar with that bit. It’s been an onging problem for ages, though.
Killer Wolf wrote:
2) This asteroid i'm building....it's come out reversed. Charlie, anyone - have you come across this before on Milkshape models? i only noticed cos my asteroid, as opposed to my Vampires, is asymetrical - it's got a big lump on the right, but in the game it's on the left. the odd thing is, i used Milkshape to plot the positions of my flashers, and they came out right too : ie mapped in revers and thereby lining up w/ the reversed features? how the frick does that work?!
Presumably one uses a left-handed co-ordinate system and the other a right-handed one. I vaguely recall having to flip all models (on the Z axis?) for Dry Dock. Most modellers should let you mirror/flip objects.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2280
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

damn, i've never even heard of lh/rh co-ordinate systems..i didn't think 3d co-ordinates could be interpreted in different ways!
so i take it this is the problem that messes up skins? i thought the whole bit about having to mirror lettering on skins was a quirk of the texturing engine, but maybe it's the whole graphics engine instead?

might do that mirror thing, it's not essential but i might as well given that it's an easy enough thing to do.

the collision detection...boo :-( wonder how it's so clever and accurate in docking slits where the least bit out will chew up your shields, but my walls do nothin...
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

I guess docking slits themselves don't do collisions as such: only check for it to determine a succesfull dock.
And the collision you get would be from colliding with the inside of the mother-model (eg. coriolis of behemoth).
Only a theory though, as I'm not 100% sure whether the station really has a dockingslit sized hole in its front. (That is I can't recall)
--
Are your textures reversed too? Then your model is most likely inversed.
---
there are many ways to plot coordinates...it's all about the frame of reference. ;)
I mean: even for plotting shiplocations in oolite, there are 3 (maybe even 4) ways of describing location.
Riding the Rocket!
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2280
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

not sure - all i know is i've docked a couple times w/ a HOopy and crunched my shields on the way in (you know how it is, you're Fug rating and there's a Viper bearing down on your ass as you try lining up and the next thing you know 95% of your rear shields have been blown away so fine tuning the approach angle goes out the window).

yeah, my textures get reversed. the logos and reg numbers on the Vampires had to be inverted. i just thought it was a texturing prob as opposed to a model thing. Like Ahruman said, i can probbly flip it : it's not vital, it was just unexpected and...odd. i thought ship models etc were based around the origin of the model, and the objtodat wotsit translated it as that, but now it seems that Oolite is the odd one out in it's co-ordinates system. the model's right in Milkshape and Ultimate unwrap, i might load it into Wings just to see what happens.
Post Reply