- Code: Select all
[Visual Object Shell02]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
[Draw Interface Shell02]
[Material MatShell02]
[Layer MatShell02-shelltex02.png]
-> Using UV map ''
-> Err, Using first UV map
[MipMap shelltex02.png]
MipMapInfo:
---------------
Imagename:shelltex02.png
Resize Image: True
Make MipMaps: True
Calculate Alpha:False
MipMap Gauss:False
Mipmap AlphaMult:1.0
CompressionType: DXT
---------------
Reading mipmap shelltex02.png.tex from cache
[DrawableSpans 00000000_0]
Processing Faces per Material - Totalling 1 materials
Material MatShell02
Appending Light Lamp00 as lightobject to object Shell02
[ShadowCaster]
[Physical]
ProxyBounds export
Exporting 3505 (3505) vertices
Exporting 6748 (6748) faces
Mass 6.0
Friction: 2.0
Elasticity: 0.0
Camera blocking disabled
Object is Dynamic
[Coordinate Interface Shell02]
Edit: Fixed!
old code alc_ObjClasses.py
- Code: Select all
# retrieve elasticity from logic property
self.fEL = float(FindInDict(objscript,"physical.elasticity",0.0))
if self.fEL == -1:
self.fEL = getFloatPropertyOrDefault(obj,"el",-1)
if self.fEL < 0.0:
print " No Elasticity set"
else:
print " Elasticity:",self.fEL
new code alc_ObjClasses.py
- Code: Select all
# retrieve elasticity from alcscript
self.fEL = float(FindInDict(objscript,"physical.elasticity",-1.0))
if self.fEL == -1.0:
# retrieve elasticity from logic property if not in alcscript
self.fEL = getFloatPropertyOrDefault(obj,"el",-1.0)
if self.fEL < 0.0:
print " No Elasticity set"
else:
print " Elasticity:",self.fEL