Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BulletDirectional& motion =
- static_cast<BulletDirectional&>(*bullet.motion);
- spd->setValue(double(motion.speed()));
- bounce->setCheckState(motion.bounce());
- spd->value_changed.connect([this, &motion](float value){
- motion.setSpeed(value);
- evUpdateSpCost();
- });
Advertisement
Add Comment
Please, Sign In to add comment