Jump to content

Real-Time Body Physics (DirectX 11)


Recommended Posts

Posted

New preview release, friends! My primary goal currently is finding a way to simulate the simulations in world space. I've made some progress, but I haven't found it yet.

 

Anyway, I thought I'd release a new preview release, because I have implemented some of the features people have asked for. Here's the change log:

 

* Added a new command "printSettings" that will print the current settings of RTBP.

 

* RTBP can now differentiate between female and male butts (most of the time. It's hit or miss depending on the mesh, but it seems to work 100% of the time when sims are naked.).

 

* Added separate settings sections to customize the behavior of female and male butts: "[rtbp.leftButt.female]", "[rtbp.rightButt.female]", "[rtbp.leftButt.male]", and "[rtbp.rightButt.male]".

 

* Split the variable "enableButtPhysics" in the "[rtbp.general]" section into "enableFemaleButtPhysics" and "enableMaleButtPhysics". I think their purpose is self-explanatory.

 

* Added a new variable "gravity" to each of the spring settings sections. Gravity is a constant downward force acting on the springs. The default value is the gravity of earth in meters per second (9.80665). Based on the height of sim meshes, I decided that 1 meter in game is around 0.90905 game units and that a sim is around 5'9" (1.75259 meters) tall.

 

* Added new command "setGravity [TARGET] [VALUE]" that sets the gravity constant of simulations.

 

* Changed the target argument in all commands. Valid targets are now "breasts", "fbutt" (female butt), and "mbutt" (male butt). For example, if you wanted to change the mass of male butts to 20, you'd type 'rtbp.command "setMass mbutt 20"'.


Your old settings file won't work anymore. Please read the change log and reference the new "RTBP/Settings.ini" file to port your previous settings over to the newer version.

 

Thanks again for helping me create this mod. Have fun!

Posted

Still problems. These are my BIN files. with rt and d3 as moved in as mentioned this is my D drives program files(x86)

 

core

python

res

rtbp

d3d9.dll

default

graphicscard sgr

graphicsrules sgr

python37_x64.dll

simulation_x64.dll

ts4_x64

 

Are these in the correct place?

 

 

 

Posted
10 часов назад CPVC сказал:

Новый превью, друзья! 

 

 

Вот это да! Сундук теперь качается при ходьбе, при подъеме и спуске по лестнице качается и сундук! Но артефакты появились.

Спойлер

706327974_TS4_x642020-11-1414-34-56.thumb.png.dea296f057b59c4a1ee808537f86b109.png1284428707_TS4_x642020-11-1414-35-12.thumb.png.bbc18052ad42d2567a42b4e538904e44.png

Log.txt

 

UPD. Пользуюсь ReShade, при удалении артефакты пропали.

UPD.UPD. Returned ReShade - no artifacts. There must have been some glitch.

Summary: It works great! If you make chest hang when bending over and lying on your side, it will be great!

Posted

Just FYI - Don't know if it's still just me, but the newest version of this isn't working with snowy escape installed for some reason. No reshade or anything like that. Was working prior to snowy escape coming out. No log file or anything being generated anymore.

Posted
On 11/13/2020 at 10:08 AM, Oddone01 said:

Seems like snowy escape broke something for me. Was working with the pre-patch before it released but doesn't work anymore. It's not creating a log file for me in the RTBP folder anymore either.

Working well for me. Most peculiar.

Posted
On 11/13/2020 at 9:08 AM, Oddone01 said:

Seems like snowy escape broke something for me. Was working with the pre-patch before it released but doesn't work anymore. It's not creating a log file for me in the RTBP folder anymore either.

On 11/13/2020 at 10:13 AM, cableguy7uk said:

I wonder if its that which  is stopping it working for me. At the moment after rt and dll placed in game/ BIN  when PLAY clicked in ORIGIN  PLAY COMES BACK ON .

4 hours ago, Oddone01 said:

Just FYI - Don't know if it's still just me, but the newest version of this isn't working with snowy escape installed for some reason. No reshade or anything like that. Was working prior to snowy escape coming out. No log file or anything being generated anymore.

I just installed Snowy Escape and everything is working as it should on my end. Are both of you using Reshade? That might be the source of the problem. I'd suggest reinstalling Reshade with the instructions provided by millionserved in this post: 

 

Posted

Well this is embarrassing. After I learned that it wasn't snowy escape I updated Windows because there was a pending update and updated my video card drivers (which weren't that old) and doing one of those things fixed it. Weird problem to have.

Posted
24 minutes ago, avi01 said:

how disable only man physics

Find your "RTBP/Settings.ini" file and look for the "[rtbp.general]" section. Find the "enableMaleButtPhysics" variable and change the value to "false".

 

I can't guarantee this will disable male butt physics for good, because sometimes, depending on the mesh, female and male butts are so similar that RTBP can't distinguish one from another.

Posted
1 hour ago, Oddone01 said:

Well this is embarrassing. After I learned that it wasn't snowy escape I updated Windows because there was a pending update and updated my video card drivers (which weren't that old) and doing one of those things fixed it. Weird problem to have.

No problem, brother! Thanks for the feedback.

Posted
On 11/14/2020 at 8:46 AM, cableguy7uk said:

Still problems. These are my BIN files. with rt and d3 as moved in as mentioned this is my D drives program files(x86)

 

core

python

res

rtbp

d3d9.dll

default

graphicscard sgr

graphicsrules sgr

python37_x64.dll

simulation_x64.dll

ts4_x64

 

Are these in the correct place?

 

 

 

same question?

Posted
On 11/10/2020 at 10:14 PM, CPVC said:

Yes, "b__CAS_R_Breast__" and "b__CAS_L_Breast__" are what they're called in the game.

Sorry for the delay getting back to you, I had a massive headache that day, and couldn't remember why I asked. From speaking to a few people, and reading on this thread, there are 2 main reasons people are reluctant to switch to this mod. One, the actual physics, which you are refining with your work on the simulator. Two, the way it "fights" with other animations (specifically WW ones). Regarding the first one; I think you're doing a great job. Thank you for all your work. I give it 3 thumbs up. ???

 

Regarding the second; You mentioned a solution where the animators rerun the animation using a rig with no breast bones, thereby removing any movement built into the animation. This brings a couple of issues. Animators may not want to bother doing so, and some of them are not even active any longer. It would also require people to have a different set of animations, depending on which system they want to use. What I was wondering was, if it were possible for you to use a rig where you substitute those breast bones with new ones (for example "b__RTBP_R_Breast__"), and have the simulator work with those. Would users who use the rig, which no longer contains the old bones, still be affected by the WW animations? If not, the solution would simply be to have users choose which rig to use. I know this seems overly simple, so I'm sure I'm missing / forgetting something, but thought I'd mention it, in case it sparks an idea from someone else.

Posted
12 hours ago, cableguy7uk said:

same question?

Yes, as far as I can tell. "d3d9.dll" and "RTBP" need to be in the same directory as "TS4_x64.exe".

7 hours ago, 2cool4u_1 said:

Sorry for the delay getting back to you, I had a massive headache that day, and couldn't remember why I asked. From speaking to a few people, and reading on this thread, there are 2 main reasons people are reluctant to switch to this mod. One, the actual physics, which you are refining with your work on the simulator. Two, the way it "fights" with other animations (specifically WW ones). Regarding the first one; I think you're doing a great job. Thank you for all your work. I give it 3 thumbs up. ???

 

Regarding the second; You mentioned a solution where the animators rerun the animation using a rig with no breast bones, thereby removing any movement built into the animation. This brings a couple of issues. Animators may not want to bother doing so, and some of them are not even active any longer. It would also require people to have a different set of animations, depending on which system they want to use. What I was wondering was, if it were possible for you to use a rig where you substitute those breast bones with new ones (for example "b__RTBP_R_Breast__"), and have the simulator work with those. Would users who use the rig, which no longer contains the old bones, still be affected by the WW animations? If not, the solution would simply be to have users choose which rig to use. I know this seems overly simple, so I'm sure I'm missing / forgetting something, but thought I'd mention it, in case it sparks an idea from someone else.

I could create new breast bones on the fly and use them to do everything, but "b__CAS_R_Breast__" and "b__CAS_L_Breast__" can't really be removed from the rig. Their primary purpose is to apply the size, height, and spacing customizations from Create A Sim. If those bones were removed, all breasts would look the same with no variation in size or position.

Posted
18 hours ago, Lawrenium said:

heyy! this is still a problem for me 

1011499404_11-14-20_9-43-55PM(2).png.4a71b8ca62b5c95763077c925650ce41.png

 

it doesn't seem to show on male undies but for the most outfits, it does.

hoping for the best for your mod!

Had the same problem using Noirs pornstar cock. Fixed it by going into the settings for real time body physics (game/bin/RTBP/settings.ini) and change enablemalebuttphysics to false. That fixed it for me.

Posted
2 hours ago, BigTBen said:

Had the same problem using Noirs pornstar cock. Fixed it by going into the settings for real time body physics (game/bin/RTBP/settings.ini) and change enablemalebuttphysics to false. That fixed it for me.

yes, but i want it for males as well ? , is there a fixaround or a settings preset i can use? 

Posted

Hello,

 

So I have all of the files in their correct places, video card is up to date and everything, but I don't see the mod in my mods pop up in-game and I am also unable to use any of the commands. I do, however, see the log gets created in the RTBP folder. I don't see any physics/movement except for when my dancers at my stripclub are doing specific animations, but that could just be included with those animations. I also have sex animations installed that come with their own physics. Are there any animations that you know of that could be conflicting with RTBP?

 

Posted
31 minutes ago, chanelbee1 said:

Hello,

 

So I have all of the files in their correct places, video card is up to date and everything, but I don't see the mod in my mods pop up in-game and I am also unable to use any of the commands. I do, however, see the log gets created in the RTBP folder. I don't see any physics/movement except for when my dancers at my stripclub are doing specific animations, but that could just be included with those animations. I also have sex animations installed that come with their own physics. Are there any animations that you know of that could be conflicting with RTBP?

 

Would you mind posting your log file?

 

Just so you know, RTBP commands don't work in Create A Sim. Script mods aren't loaded until you're in game.

 

This mod will not appear in your list of Sims 4 mods, because it isn't a traditional mod, it's a hack, similar to Reshade.

Posted
1 hour ago, CPVC said:

Would you mind posting your log file?

 

Just so you know, RTBP commands don't work in Create A Sim. Script mods aren't loaded until you're in game.

 

This mod will not appear in your list of Sims 4 mods, because it isn't a traditional mod, it's a hack, similar to Reshade.

I was not aware that it didn't show up, but outside of the create a sim screen it doesn't work. CAS will show breast physics for a second when I load into it, but then it stops.

Log.txt

Posted
11 hours ago, Lawrenium said:

yes, but i want it for males as well ? , is there a fixaround or a settings preset i can use? 

That's the fix for males that I used and it worked for me. Go to to your  game/bin/RTBP/settings.ini and change the male butt physics from true to false.

Posted
12 minutes ago, BigTBen said:

That's the fix for males that I used and it worked for me. Go to to your  game/bin/RTBP/settings.ini and change the male butt physics from true to false.

This user diagnosed "fix" is basically not giving males butt physics. They want the butt physics, so turning them off is counter-intuitive. To fix that, they have to compromise, and overall in short, there's no real fix right now that doesn't basically mean "No male butt physics", and while some, probably most in an unfortunate sense, would be fine with that? There's an audience here that's all for it.

 

(Also, I get this post might come across rudely and or any synonym of that, and I don't intend for it to come off that way, it's just not a fix is all I'm explaining in case anyone else wants to say the same thing.)

Posted
1 hour ago, GarbageNameHere said:

This user diagnosed "fix" is basically not giving males butt physics. They want the butt physics, so turning them off is counter-intuitive. To fix that, they have to compromise, and overall in short, there's no real fix right now that doesn't basically mean "No male butt physics", and while some, probably most in an unfortunate sense, would be fine with that? There's an audience here that's all for it.

 

(Also, I get this post might come across rudely and or any synonym of that, and I don't intend for it to come off that way, it's just not a fix is all I'm explaining in case anyone else wants to say the same thing.)

No offence taken. I was under the understanding that the problem was the invisible line above the butt so I gave out the fix that worked for me. There is one workaround. When I was trying to fix the invisible line I found that if I used Wicked Whims body selector and set it to default for the male bottoms (hard and soft penis) the line would go away. The only drawback is that you can't use custom male bottoms but you will have the movement.

Posted
15 hours ago, CPVC said:

I could create new breast bones on the fly and use them to do everything, but "b__CAS_R_Breast__" and "b__CAS_L_Breast__" can't really be removed from the rig. Their primary purpose is to apply the size, height, and spacing customizations from Create A Sim. If those bones were removed, all breasts would look the same with no variation in size or position.

Then does that mean the Denton47 rig uses different bones? Because without it installed, WW (and Bouncing Boobies) animations won't animate breast movement.

Posted
2 hours ago, GarbageNameHere said:

This user diagnosed "fix" is basically not giving males butt physics. They want the butt physics, so turning them off is counter-intuitive. To fix that, they have to compromise, and overall in short, there's no real fix right now that doesn't basically mean "No male butt physics", and while some, probably most in an unfortunate sense, would be fine with that? There's an audience here that's all for it.

 

this ☝️

Also its alright. The mod is still at its early stage and there are probably more to fix first that are more important. Im bad with words so thanks for that. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...