-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
for (int i = 0; i < actors.Count; i++) {
auto actor_address = (uintptr_t)actors.Data + 0x8 * i;
auto actor = MDKHandler::get(actor_address);
auto rootComp = actor.RootComponent<USceneComponent*>();
if (!rootComp) continue;
}
// Working version:
auto pos = MDKHandler::get((uintptr_t)rootComp + 0x128);
printf("i:%d pos:{%f,%f,%f}\n", i, pos.X(), pos.Y(), pos.Z());
// Failing version:
auto pos = MDKHandler::readSingle<USceneComponent, FVector>(rootComp, &USceneComponent::RelativeLocation);
printf("i:%d pos:{%f,%f,%f}\n", i, pos.X(), pos.Y(), pos.Z());
Why does MDKHandler::readSingle read an invalid value?
I'm poor in english,I wish someone can help me
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels