gth_bldg_rocketdrone.odf
Portable turret collision problem [Solved]
Moderator: Moderators
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Portable turret collision problem [Solved]
Hey guys, I'm having a problem with my Rocket Drone's collision. First off, it's a dispensable auto-turret, just so you know.
gth_bldg_rocketdrone.odf
rocketdrone.msh.option
Model hierarchy:
The problem is whenever I spawn the thing, it falls straight through everything. Yes, I obviously branch select the dummyroot before exporting with ANDE's tools. Any ideas? 
gth_bldg_rocketdrone.odf
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Portable turret collision problem
The p_ naming convention usually refers to primitive geometry. Are you using a conforming collision mesh for p_legs and p_gun instead of collision primitives? You should enable View Visibility so we can see the outline of the selected object to be sure.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Portable turret collision problem
Hmm, still no changes, not even after a manual clean... It seems the model is munging, but not really...
Hidden/Spoiler:
Hidden/Spoiler:
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Portable turret collision problem
Your not using the primitives correctly, when making collisions primitives are best used on parts that are animated and primitives have strict usage. You cannot modify any components (polygons, vertex's, edges) and you cannot freeze the model so that the geometry operator is lost. Cubes can be scaled, translated or rotated. Cylinders and spheres can only be translated or rotated, to change their size you use the geometry operator options, the box that pops up on creation.
Check out my tutorial video for a good explanation, even though the video is for flyers it still explains collisions in more detail than the docs. If the part has no animations then you can use a more conforming mesh with the prefix collision_-xxxx-name otherwise you need to use p_-xxxx-name. No need to put it in the ODF. You also want the collision to be under the root node or it's corresponding bone or node, not the mesh, if it follows a bone than it needs to be child constrained to that bone, if not then just put it under dummyroot.
Check out my tutorial video for a good explanation, even though the video is for flyers it still explains collisions in more detail than the docs. If the part has no animations then you can use a more conforming mesh with the prefix collision_-xxxx-name otherwise you need to use p_-xxxx-name. No need to put it in the ODF. You also want the collision to be under the root node or it's corresponding bone or node, not the mesh, if it follows a bone than it needs to be child constrained to that bone, if not then just put it under dummyroot.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Portable turret collision problem
EDIT:
Hold up, now the turret head is completely black in-game.
EDIT2:
jep, the turret head is still black, even with the collision primitives removed. :S
Last edited by Marth8880 on Thu May 24, 2012 8:25 pm, edited 1 time in total.
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Portable turret collision problem
Did you hide the primitives before export?
Heh, you posted just as I get home from work, timing.
Heh, you posted just as I get home from work, timing.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Portable turret collision problem
Yes, and refer to above, second edit.
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Portable turret collision problem
Never had a problem like this before, post a pic of the mesh in the explorer view with all except params showing and expand everything under the head mesh. Also check your UV's.
Also for such a small model you should make everything 1 mesh, makes it much easier to deal with, only animated parts being separate.
EDIT: Did you ever get it working???
Also for such a small model you should make everything 1 mesh, makes it much easier to deal with, only animated parts being separate.
EDIT: Did you ever get it working???
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Portable turret collision problem
Ah, yes. I was busy yesterday and became busy after you posted on Thursday. Anyway, here's the junk:
Also, everything is one mesh; the legs are their own mesh, the y-rotating object is one mesh, and the x-rotating (the head) is one mesh. All of the junk that's hidden is old stuff that was merged.
EDIT!:
OH, I found the problem! Stupid noIcon.pic was causing the problem, so I deleted it and all better! Thanks for the help!
Hidden/Spoiler:
EDIT!:
OH, I found the problem! Stupid noIcon.pic was causing the problem, so I deleted it and all better! Thanks for the help!
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Portable turret collision problem
Figured it had to be something to do with textures or UV's as the collision has nothing to do with how the regular geometry is rendered.
