GLBasic forum

Main forum => GLBasic - en => Topic started by: JohnnyB on 2020-Dec-07

Title: X_COLLISIONRAY does not take Scaling into account?
Post by: JohnnyB on 2020-Dec-07
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.
Title: Re: X_COLLISIONRAY does not take Scaling into account?
Post by: SnooPI on 2020-Dec-07
Try to use the X_SCALEMODEL function (after you load or create your object) instead of the X_SCALING function.