Mesh importing/change of origin needed?
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Mesh importing/change of origin needed?
I'm having a bit of a problem. I have a mesh I've imported but the collision cylinder is way off:
How do I adjust that in the import lines so that it is corrected? I've tried several things but it doesn't change the collision placement.So long, and thanks for all the fish
- Shadow
- Masterful
- Posts: 743
- Joined: Tue Jan 29, 2008 12:00 am
- Personal rank: Mad Carpenter
- Location: Germany
- Contact:
Re: Mesh importing/change of origin needed?
SO und zwar is das sow..
Well you simply have to add the command "#exec MESH ORIGIN MESH=WoodenBoxM X=? Y=? Z=?" the way you want it to be correctly positioned
Well you simply have to add the command "#exec MESH ORIGIN MESH=WoodenBoxM X=? Y=? Z=?" the way you want it to be correctly positioned
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Mesh importing/change of origin needed?
I did try this, but no value brought a difference. Here's the line:
and I've tried any number of different values:
and it makes no difference when I open editor back up.
EDIT: nvm...You are very correct. I was just using values way too small to see an effect. It's fixed and thank you!
Code: Select all
#exec MESH ORIGIN MESH=PapricaAmmoM X=0 Y=0 Z=0 YAW=0
Code: Select all
#exec MESH ORIGIN MESH=PapricaAmmoM X=50 Y=50 Z=50 YAW=0
EDIT: nvm...You are very correct. I was just using values way too small to see an effect. It's fixed and thank you!
So long, and thanks for all the fish
- EvilGrins
- Godlike
- Posts: 9769
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Re: Mesh importing/change of origin needed?
As always, limited editing skills here. Still, have you tried clicking on the cylinder with the mouse while holding down the CTRL key and simply moving it to where you want it?
Probably have already.
Probably have already.
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Mesh importing/change of origin needed?
The short answer is you can't.
The long answer is that all collision cylinders have an 'origin' or center from which the cylinder is calculated. That origin isn't necessarily in the center of your mesh, it can be off to the side and below/above which will cause the collision cylinder to create itself there. If you look again at the ed pic you'll see what I mean. Once I adjusted the origin it's now centered.
The long answer is that all collision cylinders have an 'origin' or center from which the cylinder is calculated. That origin isn't necessarily in the center of your mesh, it can be off to the side and below/above which will cause the collision cylinder to create itself there. If you look again at the ed pic you'll see what I mean. Once I adjusted the origin it's now centered.
So long, and thanks for all the fish