There are situations in which you may want to change specific bones' transformation. For example if you are making a shooter game, a character's hands should be pointing towards its target, or in a RPG, NPCs could rotate their head towards characters they interact with etc.
/// @desc Step event var _armId = modCharacter.find_node_id("ArmRight"); var _rotation = new BBMOD_Quaternion() .FromAxisAngle(new BBMOD_Vec3(0, 1, 0), directionUp); animationPlayer.set_node_rotation(_armId, _rotation); animationPlayer.update(delta_time);
Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.