Notifications
Clear all
[Closed] Massfx PhysXPanelInterface.instance wont update
Oct 11, 2013 5:51 am
local myPhysx = PhysXPanelInterface.instance
myPhysx.subSteps = 20
myPhysx.solverIteration = 60
myPhysx.enableCCD = on
myPhysx.UseAdaptiveForce = on
myPhysx.useGroundPlane = off
myPhysx.UseHardwareScene = true
myPhysx.UseMultiThread = true
i run the script, then open up massfx panel
the setting are not updated?? whats wrong?
3 Replies
Oct 11, 2013 5:51 am
This works for me:
(test with false too and it changes in realtime in your MassFX tools window)
PhysXPanelInterface.instance.useMultiThread = true
px_panel_engine.useMultiThreadChanged()
px_panel_engine.loadValues()
There are lot’s of code in the existing physx scripts,
you have to dig around a lot to understand how it all is tied together, the key here is to make the panel load the values after you alter them.
Hope this helps you on your way
Oct 11, 2013 5:51 am
For latest 3dsmax it’s located in this folder:
C:\Program Files\Autodesk\3ds Max 2014\stdplugs\stdscripts\(MassFX)\