ainst Composer Posted March 13, 2019 Share Posted March 13, 2019 (edited) Hello! I build a vehicle and I have a question about physics shape. it will be a two-story bed and when I get up from the bed, it throws me up through the roof. How to make it not to throw up but push me inside? Any suggestions? all the other positions push me to the right way. I have an idea to make the roof not three cubic blocks but one continuous block curved in two places along the roof arc. What do you think will help? Does it depend on the thickness of the block? still get very thin. Edited March 13, 2019 by ainst Composer Link to comment Share on other sites More sharing options...
Coffee Pancake Posted March 13, 2019 Share Posted March 13, 2019 Don't make the roof physical 1 Link to comment Share on other sites More sharing options...
ainst Composer Posted March 13, 2019 Author Share Posted March 13, 2019 1 minute ago, CoffeeDujour said: Don't make the roof physical Hello! thanks for the answer! I can not do without physics for the roof at all. this is going to be a vehicle (houseboat) and i need the opportunity to walk on the roof. Link to comment Share on other sites More sharing options...
Fionalein Posted March 13, 2019 Share Posted March 13, 2019 redo the physics model so you do not sit inside the bed physics when lying in the bed... 2 Link to comment Share on other sites More sharing options...
ChinRey Posted March 13, 2019 Share Posted March 13, 2019 Paging @arton Rotaru 1 1 Link to comment Share on other sites More sharing options...
arton Rotaru Posted March 13, 2019 Share Posted March 13, 2019 (edited) What Fionalein said. If you are inside a physics volume, the engine will push you out on the shortest path possible. Another method is to use animations with an offset. Offset so that the agent actually is still outside of the physics volume, but appears to be on the right spot. Edited March 13, 2019 by arton Rotaru 1 3 Link to comment Share on other sites More sharing options...
ainst Composer Posted March 13, 2019 Author Share Posted March 13, 2019 (edited) @arton Rotaru @Fionalein That's about what's happening. avatar is horizontal and not in volume. but still pushes. and how to create animation with an offset? Edited March 13, 2019 by ainst Composer Link to comment Share on other sites More sharing options...
Fionalein Posted March 13, 2019 Share Posted March 13, 2019 (edited) 25 minutes ago, ainst Composer said: and how to create animation with an offset? you must relocate the avatar center when creating the animation, I think it is callled hip bone ... you must however do this when in your BVH/anim editor before uploading ... Edited March 13, 2019 by Fionalein 1 Link to comment Share on other sites More sharing options...
arton Rotaru Posted March 13, 2019 Share Posted March 13, 2019 Looks like you are squeezed between the 2 beds. If the upper bed is a separate object, you could try to set that to physics type None. You might still be squeezed between the lower bed and the roof though. About the animations. You shift the entire body away from the default XY 0,0 position in the animation software, and export/import that. 2 Link to comment Share on other sites More sharing options...
Fionalein Posted March 13, 2019 Share Posted March 13, 2019 (edited) 19 hours ago, arton Rotaru said: Looks like you are squeezed between the 2 beds. If you look closely you will note the bound box stays upright no matter what your animation does - you must keep that bound box out of physical things. If you move the hip bone the bound box will still appear in your avatar's position but the avatar will appear elsewhere. If you have free control over your animation try building it so you are actually in the boat because that is the position you will unsit from... Edited March 14, 2019 by Fionalein 1 Link to comment Share on other sites More sharing options...
arton Rotaru Posted March 13, 2019 Share Posted March 13, 2019 2 minutes ago, Fionalein said: If you look closely you will note the bound box stays upright no mater what your animation does - you must keep that bound box oout of physical things. Yeah right. Actually, I did not notice the BB display at first sight. 1 Link to comment Share on other sites More sharing options...
arton Rotaru Posted March 13, 2019 Share Posted March 13, 2019 (edited) Of course, there is a drawback with offset animations as well. The avatars physics my block other avatars who will try to move on that way. It's a common method by lots of car builders as well, keeping the avatars physics shape outside of the vehicle. I rejected the idea for my vehicles though, because of the avatars physics shape can collide with obstacles out in the wild. Which isn't very realistic actually. Just a FYI. Edited March 13, 2019 by arton Rotaru 1 Link to comment Share on other sites More sharing options...
ainst Composer Posted March 14, 2019 Author Share Posted March 14, 2019 (edited) @arton Rotaru @Fionalein @ChinRey @CoffeeDujour Hello! Thank you very much for your efforts! I followed your recommendations and used animations with an offset . As a result, everything works! for this I used a program Qavimator. I had to tinker with it and some places were incomprehensible, but mostly everything works. Thanks to all of you very much again! Edited March 14, 2019 by ainst Composer 4 Link to comment Share on other sites More sharing options...
Fionalein Posted March 14, 2019 Share Posted March 14, 2019 2 hours ago, ainst Composer said: Hello! Thank you very much for your efforts! I followed your recommendations and used animations with an offset . As a result, everything works! for this I used a program Qavimator. I had to tinker with it and some places were incomprehensible, but mostly everything works. Qavimator is great . You can even do bento stuff with it now. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now