This is the AMP version of this page.
If you want to load the real page instead, click this text.

Solved Changing Game Object Scale

Status
Not open for further replies.

Galaxy169

Platinian
So, in a game, I want to change the weapon or character model size so I can see the opponent easily.
As usual, I edited every method and hooked fields that contain scale, weight, height, size and related keyword, none of them worked.

I tried searching on the internet but didn't find anything related to changing game object scale,

So now, I think I have to get Weapon from GameObject and then use transform to change the scale, but I can't wrap my head around it on how to do it or if it's even the correct way as I am fairly new to the hooking.
Do I need to hook GameObject Component and get a pointer to Weapon class then use transform?
 
Already tried both methods, none of them worked so far.
Hooked at least a hundred methods and none of them worked, The game either crash or nothing gets changed.

Wouldn't you mind if I send you my main.cpp for checking, I just want to know if I am hooking it correctly so I can continue my hunt for the right method!
 
ok sure
 
Status
Not open for further replies.