Main forum > GLBasic - en

X_COLLISIONRAY does not take Scaling into account?

(1/1)

JohnnyB:
Is this true or a bug? I am scaling a 1.0 sized cube to something larger but somehow the ray only seems to hit the "small" part without scaling.

SnooPI:
Try to use the X_SCALEMODEL function (after you load or create your object) instead of the X_SCALING function.

Navigation

[0] Message Index

Go to full version