Actor *act = CreateActor("bullet", "icon", "no parent", "no path", 0, 0, false);
act->xvelocity = xvelocity; //velocity of new actor will be the same of the creator
xvelocity = creator.xvelocity;
Users browsing this forum: No registered users and 1 guest