Repository navigation
Small improvements to several actor classes - #61
Conversation
| public: | ||
| // Address: Deleted | ||
| virtual void vf58C(); | ||
| virtual sead::Vector3f getCreateWeaponPos(); |
There was a problem hiding this comment.
is getCreateWeaponPos more accurate or getHandPos? not too familiar with the purpose of this vf
There was a problem hiding this comment.
I'm not really too sure either. The purpose of the function is to get the world position for the projectile after it has been spawned but before it has been thrown as seen in the attachment (in this case, it gets the position the hammer should be placed).

I don't think getCreateWeaponPos is a good name anymore since this function is also called by the projectile during it's execution to move with the bro. I also don't think getHandPos is very Nintendo like.
There was a problem hiding this comment.
it follows the bone, right? what is the bone named?
There was a problem hiding this comment.
The virtual is deleted in the base class, it's up to child classes to add this behavior. It uses the wrist_r1 bone with an offset added to it depending on the facing direction.
There was a problem hiding this comment.
NSMBW just uses the translation vector of wrist_r1 directly so there's no official names to compare to.
There was a problem hiding this comment.
just getWristPos in that case, I guess.
checkBombBreakfunction in ActorBgCollisionCheckvf58Cin BrosBaseinitModelin BrosBasemCarryPlayerNoin ChibiYoshiBase