Jump to content

Collision


Recommended Posts

your car is not active, so it will only affect other rbds, but will not react to any dynamics itself,

you have SOP Solver in there that you probably want to use to activate the car, but for now it's not doing it for 2 reasons:

1. you are enabling it based on simulation frame $SF, but that's different from global scene frame because your sim starts at frame 120, so rather use $F in this case

2. it's just passing the geo through in the SOP solver, so even if it was enabled at the correct frame it would not do anything

 

here 1. and 2. fixed, you may want to add some constraints to the car so that it doesn't just fall apart unless that's what you want

Sim_activationfix.hip

Edited by anim
  • Like 1
Link to comment
Share on other sites

Thanks a lot Tomas! I adjusted the simulation now to my liking and made the car collide at an earlier frame. Now I'm following a tutorial which the person after doing the sim, brings out a Fetch node to transfer the animation to his high res model. What I'm struggling right now is that I can't point out the Fetch node to the dopnetwork because it doesn't show up and even if I try to do it manually by typing it out, it tells me that it can't locate the object.

 

Fetch.png

Link to comment
Share on other sites

are you 100% sure?

cause in the earlier scene it was called rbdpackedobject1

so your Fetch Object parameter would be: /obj/LowPolyCar/dopnet1:rbdpackedobject1

but that brings us to the problem, that if it is a packed object, you can't use Fetch to get correct transform, because packed objects transform is not updated during the sim, just the transforms of packed primitives themselves

Edited by anim
Link to comment
Share on other sites

aaand annother issue, seems like Fetch Object can only fetch objects from object level Dop networks, which seems like a bug

so even though your path may have been correct, you will get an error

however it wouldn't give you meaningful transform anyway  if your objects are packed

for packed objects there is much more common workflow to pack Hi Res as well and use Transform Pieces SOP to match the transform

Link to comment
Share on other sites

Thanks for the response Tomas! But how exactly does the Transform Pieces SOP workflow go? Is there a tutorial somewhere I can see and go from there?(I'm a bit new to Houdini). Also, yeah I did change the the object name before from rbdpackedobject1 to LowPolyCar but I guess that doesn't matter now. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...