nanos-world / issues

Issue Tracker for nanos world
9 stars 1 forks source link

`actor:GetBounds` weird values on Character entities #997

Closed Timmy-the-nobody closed 8 months ago

Timmy-the-nobody commented 8 months ago

Prerequisites

Your Environment

Description

The bounding box returned by char:GetBounds seem to return something else than the mesh bounds for Character entities. With StaticMesh entities there's no issue as you can see on the 1st screenshot.

image image

Steps to reproduce the behavior

Manipulate actor:GetBounds's origin and extent on a Character entity.

Expected behavior

The bounding box should be close to the mesh.

Actual behavior

See 2nd screenshot in description.

gtnardy commented 8 months ago

Will fix it, actually Character and Vehicles have the bounds multiplied which makes it bigger for optimization reasons, I will normalize the values when returning it

Timmy-the-nobody commented 8 months ago

Will fix it, actually Character and Vehicles have the bounds multiplied which makes it bigger for optimization reasons, I will normalize the values when returning it

Alright will wait for a fix then