ScaleEntity an collision
Blitz3D Forums/Blitz3D Beginners Area/ScaleEntity an collision
| ||
I am modeling with wing3d and environment is creatd in 3dws, so when i put all in blitz, character is underscaled and level too big. I adjust it with Scale Entity, but drastically, so i need EntityRadius, say 50, for collisions etc. Does it in anyhow affect the any aspect of the output ? What do you recommend ? And, I came to the examinaton of collisions, made some progres (yet my models, whe animated, are intersecting with their parts (hands, weapon) with props) - and if i make bigger radius, it happens tha model falls throug the floor due to gravity. Suggestions?) Main questions is how to exactly detect collision when happens betwen two entities so i have output about it in some variable (for example, collision occurs between monster and hero and i need variable "catched"=1 ? Many thanks! |
| ||
I recommend scaling models correctly before you export them. Scaling everything to the right size in code is going to cause a big, horrible mess. I don't understand the second paragraph. |
| ||
But what i shall assume as correctly scaled object, when there is no uniform measure between programs i use ? (wings3d, 3dws and blitz3d) ? Any guideline about this, recommendation ? Seconnd question, in short, is how to get response that collision between two objects did occured (but in variable - true, flase for example) |
| ||
I use 1 3d unit = 1 metre, but it depends on the scale of the game. Do whatever you think seems correct for your game. |
| ||
OK...! As for the secon question primary question, just found answer: If EntityCollided(PLAYER1,PLAYER2) Tnx all! |