Havok Collision Issue

Post » Thu Feb 17, 2011 12:24 am

I have a large weapon rack that I have havoked so that it can be grabbed and moved in-game. But I have a really weird bug. The rack is fairly wide and if you are standing facing the front, you can grab and move the right-hand side, but not the left! You can grab and move all the way to the centre, but after that the grab function doesn't work anymore and you can't move the rack. As long as you grab it from the centre or the right side your can pick it up and fling it about, whatever, but as soon as you try to grab the other end, it won't budge. Does anybody have any idea what's causing this? I have been using Nifskope. I've managed to get the nif imported into Blender but don't know much about Blender so haven't been able to do much after that :)
User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Thu Feb 17, 2011 12:19 am

Grrrr... I found what the cause was, but I still don't know what the solution is. I had to translate and rotate the collision mesh and the object so that it would be oriented properly when dropped into the game world. However once I do this, I guess there are some variables in the collision that aren't rotated properly - that's why half the object is draggable. The rotation was 90 degrees.

I need to rotate the rack by 90 degrees and shift it along the x and y axes - does anyone know how to do this properly? I applied the changes to the bhkRigidBodyT and the NiTriStrips, but obviously I didn't do it properly. It looked like I had done it right, because the collision mesh overlaid the object properly, but something is amiss.

Thanks...
User avatar
Stephy Beck
 
Posts: 3492
Joined: Mon Apr 16, 2007 12:33 pm

Post » Wed Feb 16, 2011 9:22 pm

Grrrr... I found what the cause was, but I still don't know what the solution is. I had to translate and rotate the collision mesh and the object so that it would be oriented properly when dropped into the game world. However once I do this, I guess there are some variables in the collision that aren't rotated properly - that's why half the object is draggable. The rotation was 90 degrees.

I need to rotate the rack by 90 degrees and shift it along the x and y axes - does anyone know how to do this properly? I applied the changes to the bhkRigidBodyT and the NiTriStrips, but obviously I didn't do it properly. It looked like I had done it right, because the collision mesh overlaid the object properly, but something is amiss.

Thanks...


Hi andalaybay,

Send me a download link via PM for the nif, and I'll take a look at it. I'll try to fix it, and also send you info on how I fixed it.
There may be several things you're doing wrong in havoking the nif, collision-wise, so it's best I see the nif in person.

Koniption
User avatar
Misty lt
 
Posts: 3400
Joined: Mon Dec 25, 2006 10:06 am

Post » Thu Feb 17, 2011 5:42 am

Thanks Koniption. I've been trying to do it via script and I'm woefully confused about the axes :( Women don't do spacial stuff very well... Here's the http://www.sendspace.com/file/9moiwl to a zip file with the nif and textures. This one works (in terms of grabbing), but is oriented wrong. Probably don't need the textures, but it's just one file. This is one of Loth's weapon rack textures. I think it's a little more complicated because of the collision he uses so that you can slide weapons into the rack. I want to rotate the rack 90 degrees (+90) and move it along the x and y axes a bit so the mesh is centered. Here's the http://www.sendspace.com/file/75owq0 that isn't working. The reason this matters is the mod I'm using to add these to the game world. As I said, I might be able to do it via script, but it'd be nice if I didn't have to.

Thanks again and let me know if the download links don't work!
User avatar
CHangohh BOyy
 
Posts: 3462
Joined: Mon Aug 20, 2007 12:12 pm

Post » Wed Feb 16, 2011 9:43 pm

Thanks Koniption. I've been trying to do it via script and I'm woefully confused about the axes :( Women don't do spacial stuff very well... Here's the http://www.sendspace.com/file/9moiwl to a zip file with the nif and textures. This one works (in terms of grabbing), but is oriented wrong. Probably don't need the textures, but it's just one file. This is one of Loth's weapon rack textures. I think it's a little more complicated because of the collision he uses so that you can slide weapons into the rack. I want to rotate the rack 90 degrees (+90) and move it along the x and y axes a bit so the mesh is centered. Here's the http://www.sendspace.com/file/75owq0 that isn't working. The reason this matters is the mod I'm using to add these to the game world. As I said, I might be able to do it via script, but it'd be nice if I didn't have to.

Thanks again and let me know if the download links don't work!


No problem.
I got the files; I will look at them starting probably tomorrow. (I have been invited to dinner at a friend's house tonight, so won't be able to look at the nif until next day)

It's funny when you say "Women don't do spacial stuff very well"....because I am a woman myself, lol. But I happen to be good at various modding & spacial stuff, so don't worry.

Koniption
User avatar
sharon
 
Posts: 3449
Joined: Wed Nov 22, 2006 4:59 am

Post » Thu Feb 17, 2011 4:09 am

Well I'm glad to hear some of us have our axes straight :lol:

Have a good evening!
User avatar
Soraya Davy
 
Posts: 3377
Joined: Sat Aug 05, 2006 10:53 pm

Post » Wed Feb 16, 2011 9:24 pm

Well I'm glad to hear some of us have our axes straight :lol:

Have a good evening!


Hahah!

I have already fixed the nif. I PM'd a linky to you. Check your inbox. Also, be sure to read the document in the download I sent you - it'll help you havok other items in the future.

Koniption
User avatar
Luis Longoria
 
Posts: 3323
Joined: Fri Sep 07, 2007 1:21 am


Return to IV - Oblivion