compound
08-11-2007 16:16:45
basically i currently use text files to obtain info about each of the objects in ym game, this isnt very designer friendly and since trying Ofusion ive discovered this will be alot easier for everyone.
i couldnt find anywhere i could declare custom data anywhere in the exporter though, how is this possible?
each object i need to include a small amount of data like this:
BoundType = Cylinder
BoundSizeX = 1
BoundSizeY = 2
BoundSizeZ = 1
BoundOffsetX = 0
BoundOffsetY = 1
BoundOffsetZ = 0
BoundOffsetRotX = 0
BoundOffsetRotY = 0
BoundOffsetRotZ = 90
Mass = 20.0
InertiaX = 10.0
InertiaY = 10.0
InertiaZ = 10.0
PhysicsMaterial = Wood
PinUpvector = false
also how would i read the data exported in OSM Scene loader?
i couldnt find anywhere i could declare custom data anywhere in the exporter though, how is this possible?
each object i need to include a small amount of data like this:
BoundType = Cylinder
BoundSizeX = 1
BoundSizeY = 2
BoundSizeZ = 1
BoundOffsetX = 0
BoundOffsetY = 1
BoundOffsetZ = 0
BoundOffsetRotX = 0
BoundOffsetRotY = 0
BoundOffsetRotZ = 90
Mass = 20.0
InertiaX = 10.0
InertiaY = 10.0
InertiaZ = 10.0
PhysicsMaterial = Wood
PinUpvector = false
also how would i read the data exported in OSM Scene loader?