Jump to content

PickInfo wrong position


YouGroove
 Share

Recommended Posts

I tried Pick() function it works and detect entity.

For debugging i create a sphere in 3D space.

 

When creating sphere at Pickinfo.entity:GetPosition() all is ok , the sphere is at model center (i have script hidding model also to better view the sphere

 

When creating sphere at Pickinfo.position it is a bug

It don't appear at triangle raycast position , but spheres are created at nearly same small space in the level, and not in 3D models triangle raycast collision sad.png

 

bug.jpg

Stop toying and make games

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...