Parenting
BlitzMax Forums/MiniB3D Module/Parenting
| ||
Hi there, could someone experienced with B3D tell me if the following code is a) plain wrong b) a bug with miniB3D This never moves the Children to where the parent(pivot) is. |
| ||
a) It doesnt Look wrong. Will run it later at home. |
| ||
hmmm. this works: |
| ||
This never moves the Children to where the parent(pivot) is. It does. You're printing out the values of px, py, pz, which a) you shouldn't really do, you should use EntityX/Y/Z instead, and b) px, py, pz are the local positional values, meaning the children are positioned 0 units away fromt the parent. Use EntityX/Y/Z(True) to get global co-ordinate values. |
| ||
Well that just explained a number of oddities i have been experiencing. Thanks alot! |