|Raydium 3D Game Engine
|How to delete it?
|Page 1 of 1|
|Author:||Farabi [ Wed Nov 26, 2008 6:11 am ]|
|Post subject:||How to delete it?|
How to delete object created with this code?
|Author:||ouille [ Wed Nov 26, 2008 10:37 am ]|
|Post subject:||Re: How to delete it?|
All raydium documentation and API reference is here:
You probably need to have a deeper look to it if you want to build some new raydium applications.
45.183 signed char raydium_ode_element_delete (int e, signed char deletejoints):
Will obviously delete element e. Deletion may me queued for some reason,
for a very short time (current collide loop). For now, you must set
deletejoints to 1 (true), since joints without 2 linked elements
Linked rocket engines will be deleted, too.
45.184 signed char raydium_ode_element_delete_name (char *name, signed char deletejoints):
Same as above, but using element's name.
Have a look to other raydium example, there is quite one example for each part of raydium.
Have a nice day.
Using the same name as for creation:
raydium_ode_element_delete_name(name,1); will do the trick.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group