Hi,
please get this blend file and run the game engine please. All I do in 2.49b.
Simple use WASD to control the cube, press “q” to add a shooting Cone and “e” to remove it. Better if still use Top Ortho view to see the effect clearly:)
test_pickup_sample.blend (142 KB)
This is what I want. For simple condition like this, it work well enough. But how I wonder if I use many - many object as the cone? I think it will be troublesome to do and the logic for the Empty “mount_01” will so messy…
so,
to simplify the process I try search on the web and at tutorialsforblender3d I found a sample command using object.setParent. I copy the code as is and get this blend file. But why the game didn’t run as I want? I mean as the first file that didn’t use python.
test_pickup.blend (147 KB)
someone can help me?
Thank u very much for the response.