Unparenting
Blitz3D Forums/Blitz3D Programming/Unparenting
| ||
hey, i've been kinda stuck with this problem. i've found a few ways around it..(well only one useful one). how do you un parent entities. the only way i've found is to copy the mesh, then free the entity. is there an easier way. i've tryed parenting the entity to it's self. no luck. thanks in advance! |
| ||
EntityParent entity, 0 should do what you want. :) |
| ||
The answer is in the docs: Attaches an entity to a parent. Parent may be 0, in which case the entity will have no parent. So just use EntityParent MyEntity, 0 EDIT: crosspost with GNS. |
| ||
ok, thanks for that!!! brilliant! so stupid not to have noticed that. doh! cheers :^) |