Fix rigid body params
This commit is contained in:
parent
e2ab26a8f3
commit
b5e5334fb1
|
@ -2054,9 +2054,8 @@ class ArmoryExporter(bpy.types.Operator, ExportHelper):
|
|||
body_mass = rb.mass
|
||||
x = Object()
|
||||
x.type = 'Script'
|
||||
x.class_name = 'RigidBody;' + str(body_mass) + \
|
||||
';' + shape + \
|
||||
";" + str(rb.friction)
|
||||
x.class_name = 'RigidBody'
|
||||
x.parameters = [body_mass, shape, rb.friction]
|
||||
o.traits.append(x)
|
||||
|
||||
def cb_export_camera(self, object, o):
|
||||
|
|
Loading…
Reference in a new issue