#tank issue for simfphys
1 messages · Page 1 of 1 (latest)
Did you apply all the modifiers?
This to me looks like bad face orientation, I could be wrong but in blender there are 2 ways to check
Most simply way is to goto layout "show overlays" can be found at the top right [short cut is shift alt z] and click on face orientation for that object
This was already fixed
Thanks though
Shoutout to Ethan
Glad to hear
I just fixed my own issue just now :D.
Ahh I see lol
I have a question about collision model though
What is the right position to place it
Was having issues exporting animation
Hm
For myself, I copy the entire model
Then hull convex
In blender? What is that lol
Yes, copy your entire model, select the copied object, removing all textures, bevels ect.. then in edit mode making sure to select every vertex click mesh and you should see convex hull
What does it do just asking
Convex hill
Hull*
It's alittle complexed to describe exactly what's going on, just note it simplifies the mesh completely 😄
Is this the correct position lol
Blue is the collision model
Or what should the transform be
The collision model should be aligned along with the tank
Like wdym
Show me a visual example
Example you have cube1
Cube 2 is there just the same pos, width, height as cube 1
You can then use cube2 as the collision, cube 1 as the model itself, you will also need to specify in your qc, I do have some code I can share too
Also
If you copy and paste your model and it's on its side, I'd recommend setting location rotation/scale unless you already have animations you could get away with using an empty
As it should copy over the original model
You can see the cube that is not rotating is the collider used
Sorry for late response show me the qc please thanks
Include the following, more info found here https://developer.valvesoftware.com/wiki/$collisionmodel/en as this is very basic
$collisionmodel "mymodelphys.smd"
{
$mass 1
}
Hm
All I am doing for this model is defining the collision model & the mass of that object. reading the link provided you can include stuff alike
If I put the $masscenter to 0,0,0 it matches source code right
What does damping do 🤔
I have not a clue :D, these two are the only one's I've included so far. $mass & $inertia
What about $masscenter
If my collision model is 0,0,0 and I do it to $masscenter 0,0,0 does that work
If your centre of mass is already 0,0,0 then I wouldn't recommend
Oh ok but I still have a question
it should work yes
I've only used $mass, could try mess around with centre of mass make it offset, see if the object falls diffrent
That’s my visual explanation in png
In game your collision model is not aligned?
Yes… but in blender it’s set to 0,0,0
If you'd like to share screen I can give a shot at helping out
As I haven't had this issue
I’ll send a video
No worries
Send over the blend file it possible
Ok
dont expect textures, ill work onnat
here
& the other blend file
what
You have the blend file & blender file
so whats the issue
Compiling now
ill compile it
i use crowbar but i have a different compiling software
Crak0kalos Studiomdl
so can u tell me what we wrong and what should i do
I'm compiling a lower polly to begin with
I may note your phys model is really too complexed
Not good for game performance unless that is not a worry
But also could cause unknown issues?
testing model now
So far it looks fixed
Not a worry lmao
It could be your compiler used or the mesh is too complexed gmod can't cope..
I took down the vert count and convexted the collision model
It’s probably the collision mesh ðŸ˜ðŸ˜ðŸ’€ðŸ’€ðŸ’€
Convex? I thought u didn’t know that lol
Most likely, you don't need it that complexed for good results
AAAAHH okay lol
I mentioned it lastnight
Ah lol
Alright send me the .qc and uhh yk the model n shi 💯💯
You sure you want the model? I took out a lot of detail for testing purposes
I only took out verts & convexed phys model, didn't change anything other
how do i convex that jaunt
how to convex physic model
This is what convexing does, you can clean it up but also convex the wheels separate too, think there is a qc command for merging separately exported but you have it all in a collection so no need 😄
- Select your collision model
- Edit mode and select every vertex
- Goto mesh & convex hull
Ay thanks unc 💯💯
U da g 💪💯
No worries :).
i found the issue from hlmv
this is recent
I viewed the collision model on my side, everything was working fine
sequence is what makes the tank move
and function
its not direclty the animations itself
Indeed, Just making sure as I had issues with sequences messing my object orientation
fire.smd and idle.smd plays a major role to make sure its positioned properly and animates properly
$maxconvexpieces 12 hmm is this really required on the collider?
whats the convexpieces i need
mf i dissected this from an M1128 MGS 💀
The model compiler limits a concave collision model to twenty convex pieces. This command can be used to override the limit if you are creating a Costly collision model. which now you are not so I'd remove it
Unlike before you would have needed this, just noticed it now in the qc
But that aside as for the wrong orientation on the collision I am not sure as it worked fine for myself
i mean you inspected the whole model right
Yes let me pull it back up.
and the .qc
Yes qc provided worked only you've now included all the animations on export
wdym
like you need all them anims files
Model you provided does not have any sequences
But as seen everything is where is should be
mf what????????????
i am confused
like bomboclat confused
There was no animations within the blend file you sent?
can i send it to you in dms