shooting tin cans

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Dr Beeb
Dangerous
Dangerous
Posts: 127
Joined: Sun Mar 23, 2008 10:28 pm
Location: Mt. Vista, Oosa, Biarge System, Galaxy 1

shooting tin cans

Post by Dr Beeb »

or more precisely illicit cargo containers recently ejected. I like to shoot them up so I don't accidentally scoop up them up again. So I have probably discovered for myself something related to the collision code difficulties. If you aim for the center of the container it doesn't blow up. You have to aim nearish to a vertex of the container. I guess this applies to ships too.

Would it be possible to add a few additional vertices for such code checking, say middle of object, center of large panels etc ? Maybe not supplied by the models themselves but calculated internally by Oolite to add to the models' list? This could be quite difficult for very convex objects but most objects in Oolite are not that extreme.
White dots were so much easier to hit
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: shooting tin cans

Post by Eric Walch »

Dr Beeb wrote:
or more precisely illicit cargo containers recently ejected. I like to shoot them up so I don't accidentally scoop up them up again. So I have probably discovered for myself something related to the collision code difficulties. If you aim for the center of the container it doesn't blow up. You have to aim nearish to a vertex of the container. I guess this applies to ships too.
This all depends to the position of the laser, compared to the viewpoint. But the same is valid for real guns. When you calibrate the cross-hair for exact aiming a great distance, you also have to overshoot the target at close range to hit it.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Yep, if you use a ship design with the laser centered on the crosshairs you don't get any parallax problems, and you hit exactly where you aim, at any distance. Though I must say the laser coloured + in the middle of the screen when you fire doesn't look too realistic to me...

A related problem is trying to dock manually using Charlie's falcon. The viewpoint is off to the side of the ship, so keeping the centre of the dock in the middle of the screen will always result in a crash! Ah the memories! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Kaks wrote:
A related problem is trying to dock manually using Charlie's falcon. The viewpoint is off to the side of the ship, so keeping the centre of the dock in the middle of the screen will always result in a crash! Ah the memories! :)
A bit like driving a car, where the driver's POV is off to the side. So 'drive' a Falcon like it's a really big, space-capable SUV. ;)
The Falcon, 1st choice of spacehogs and zero-gee soccer moms. :lol:
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Dr Beeb
Dangerous
Dangerous
Posts: 127
Joined: Sun Mar 23, 2008 10:28 pm
Location: Mt. Vista, Oosa, Biarge System, Galaxy 1

Post by Dr Beeb »

:oops:

yep, in Cobby Mk III aim high and you always hit it, my apologies to the code.
White dots were so much easier to hit
Post Reply