Jump to content

linepicks/entityuserdata in 2.28


Game Producer
 Share

Recommended Posts

I have stuff like:

EntityType groundmesh, COLLISION_GROUNDMESH
Local physicalObject:TPhysicalObject = New TPhysicalObject
physicalObject.canBeDestroyed = False
physicalObject.isGround = True

SetEntityUserData(groundmesh, physicalObject)

 

But... when I do linepicks I get no data (I'm in the process of upgrading from LE 2.24 to 2.28). Any hints & tips on where I could find dig information about what has changed in entityuserdata/linepicks in this time?

 

Thanks in advance...

Intel Dual Core 3GHz / GeForce GTS 450 - 1024 MB / Driver ver 267.59 / 8 GB RAM / Win 7 - 64 bit / LE2.50 / BMAX 1.48

game producer blog - Dead Wake Zombie Game powered by Leadwerks Engine

Twitter - Unfollow me

Link to comment
Share on other sites

Seems to work! Thanks Lumooja. Again. I'll buy you a beer or soda or juice or goo or whatever you drink the next you are near my place.

 

I did something kind of dumb when attempting to implement a separate raycast algorithm for thick raycasts.

 

Heh, why not then simply ignore the parameter and set it to ZERO inside the zzzPick methods? :)

Intel Dual Core 3GHz / GeForce GTS 450 - 1024 MB / Driver ver 267.59 / 8 GB RAM / Win 7 - 64 bit / LE2.50 / BMAX 1.48

game producer blog - Dead Wake Zombie Game powered by Leadwerks Engine

Twitter - Unfollow me

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...