little question..
is there a maximum amount of object that can be assigned to a group?
Asking this because I used the DLL... and it works quite well except on the fact that not EVERY object included in the group reacts on the collision.
For example I added several plants, rocks, tables and a character it works..
I added a building in the same group and I can walk through it...
I made the same parameters as the other object.. but seems that it doesn't work..
Any idea?
... some code before... then:
load object "pierre.dbo",ObjectNumber
load image "rock2.dds",ImageNumber,1
texture object ObjectNumber,ImageNumber
set object light ObjectNumber,1
set object specular power ObjectNumber,1
set object specular ObjectNumber,1
sc_setupObject objectnumber,1,1
sc_allowobjectscaling objectnumber
load object "pierre2.dbo",ObjectNumber
texture object ObjectNumber,ImageNumber-1
set object light ObjectNumber,1
set object specular power ObjectNumber,1
set object specular ObjectNumber,1
b# = get terrain ground height( 1, 1747, 1368 )
POSITION OBJECT ObjectNumber,1747,B#-5,1368
sc_setupObject objectnumber,1,1
sc_allowobjectscaling objectnumber
load object "plant12.dbo",ObjectNumber
load image "plant12.dds",ImageNumber
texture object ObjectNumber,ImageNumber
set object light ObjectNumber,1
set object specular power ObjectNumber,1
set object specular ObjectNumber,1
scale object ObjectNumber,80,80,80
set object transparency ObjectNumber,4
b# = get terrain ground height( 1, 1688, 1900 )
POSITION OBJECT ObjectNumber,1688,B#,1900
sc_setupObject objectnumber,1,1
sc_allowobjectscaling objectnumber
[Thos objects reacts correctly on the collision]
load object "roman_building_8.dbo",ObjectNumber
load image "roman_building_8.dds",ImageNumber
texture object ObjectNumber,ImageNumber
sc_setupObject objectnumber,1,1
sc_allowobjectscaling objectnumber
scale object ObjectNumber,50,50,50
sc_updateobject objectnumber
c# = get terrain ground height( 1, 3930, 4437 )
position object ObjectNumber,3930,c#,4437
set object light ObjectNumber,1
set object specular power ObjectNumber,1
set object specular ObjectNumber,1
[This one not..]