Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] In TC, when we use Position::GetPosition to get the object's position, where the pivot exactly? Does

[DiscordArchive] In TC, when we use Position::GetPosition to get the object's position, where the pivot exactly? Does

[DiscordArchive] In TC, when we use Position::GetPosition to get the object's position, where the pivot exactly? Does

rektbyfaith
Administrator
0
09-06-2023, 10:14 PM
#1
Archived author: will0x539 • Posted: 2023-09-06T22:14:24.761000+00:00
Original source

In TC, when we use Position::GetPosition to get the object's position, where the pivot exactly? Does that method return the center point for example (in all axis) or is there anything else to keep in mind?
rektbyfaith
09-06-2023, 10:14 PM #1

Archived author: will0x539 • Posted: 2023-09-06T22:14:24.761000+00:00
Original source

In TC, when we use Position::GetPosition to get the object's position, where the pivot exactly? Does that method return the center point for example (in all axis) or is there anything else to keep in mind?

rektbyfaith
Administrator
0
09-06-2023, 10:15 PM
#2
Archived author: will0x539 • Posted: 2023-09-06T22:15:59.725000+00:00
Original source

Also, I've been trying to find a way to come up with the bounding box for the potential objects' collision. I know that M2 have BoundingBox in the header, but I'm not sure if that will apply to all Units and apparently there's no way to get such info (M2 info) from the server right away anyway as far as i can t ell (except if we prepared the server to load those info in the first place). Does anyone have some insights into this?
rektbyfaith
09-06-2023, 10:15 PM #2

Archived author: will0x539 • Posted: 2023-09-06T22:15:59.725000+00:00
Original source

Also, I've been trying to find a way to come up with the bounding box for the potential objects' collision. I know that M2 have BoundingBox in the header, but I'm not sure if that will apply to all Units and apparently there's no way to get such info (M2 info) from the server right away anyway as far as i can t ell (except if we prepared the server to load those info in the first place). Does anyone have some insights into this?

rektbyfaith
Administrator
0
09-06-2023, 10:17 PM
#3
Archived author: will0x539 • Posted: 2023-09-06T22:17:18.572000+00:00
Original source

Or is it just more suitable to use a bounding radius and a collision height from Unit::GetBoundingRadius and Unit::GetCollisionHeight respectively? (Seems like it will only be a bounding sphere, but maybe it'll be acceptable
rektbyfaith
09-06-2023, 10:17 PM #3

Archived author: will0x539 • Posted: 2023-09-06T22:17:18.572000+00:00
Original source

Or is it just more suitable to use a bounding radius and a collision height from Unit::GetBoundingRadius and Unit::GetCollisionHeight respectively? (Seems like it will only be a bounding sphere, but maybe it'll be acceptable

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)