I am looking for an example of passing a part “in container” to “in Pyhsics” - programmed with Python.
I assume that for this “VC_PHYSICS_INPHYSICS” is needed,- but how can it be used ?pallet_feeder.vcmx (44.6 KB)Pallet_001.vcmx (50.7 KB)
Thank you !
Do you have a small example ?
comp = getComponent() pe = comp.findBehaviour("PhysicsEntity") pe.PhysicsType = 0 #0 = VC_PHYSICS_INPHYSICS because is EnumType ;)
thanks a lot
how can I apply this to a part made with the ComponentCreator ?
E.g. a part should fall from the sky every 5 sec.
the part contains your mighty script and is instanced from the ComponentCreator. → Should work fine…