![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi guy's,
I am testing a new feature and was playing with the zone, everything work fine i place the sphere all around my 3d model to closely match it shape and then i did some test by provoking a collision with the sub and it work except that when the sub hit the object it clip thru the model a bit. So i was wondering if there was another way of doing collision because any model you build and put in the harborkit.dat have collision automatically set and when the sub hit any model from the harborkit.dat it never clip but bounce on it. I also try to merge the anti subnet collision box in my file and it work when vertically put just like the net are but when i turn the collision box to horizontal the sub goes thru it. It not dramatic the way it is now but if i can make it better it always a +. Best regards Hans |
![]() |
![]() |
![]() |
#2 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi guys,
Did some more test with collision sphere and by pushing them outside the mesh more then usual yield some acceptable effect but the sub seem to collide with an invisible object if you go look under but nothing to cry about. Too bad we don't have particle collision in the particle system this would have been a neat feature. Best regards Hans |
![]() |
![]() |
![]() |
#3 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi guy's,
Ok here some information about important stuff regarding the collision detection model in SH3, First the spheres in the .zon file need to be space very tightly to avoid some strange clipping, it is a very dull and tedious work but well worth the result. Most importantly is that if you modify a setting in the collisionable controller ex: changing the bounce radius you need to restart a complete new career or the minute the sub will touch the collision model it will hang and ctd. As for the bounce radius setting it seem to have no effect at all on the collision model, i try several setting and the sub hit the object without any difference. The collision model is not very accurate but it is enough to simulate impact when done properly. Note that if you create any 3D model in the harborkit.data it will have a hard coded collision system automatically apply to it ex; the block composing the dock and these are perfect without any clipping in. I will update this thread as i found new stuff . Best regards Hans |
![]() |
![]() |
![]() |
#4 |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]()
Interesting, good work mate.
|
![]() |
![]() |
![]() |
|
|