Forums Gallery LOGIN |REGISTER

How to get an entity be ignored by mouse cursor

Gameplay Setup, SP/MP Logic, Audio Setup, AI Logic, Entity Usage, etc.


 

User avatar Der_Herm
Intern Dev
Intern Dev
 
Posts: 157
Member since: 08.07.2011, 18:39
Likes: 1

How to get an entity be ignored by mouse cursor

Postby Der_Herm » 12.05.2012, 17:34

Hey,

For example I have a couple of objects which can be selected by the mouse.
They all have a different ID right?
So imagine these objects are inside of another bigger object (e.g a glass box) but the camera is
outside. When I now want to select any of the objects, my mouse will always hit the glass box and
therefore only get's it's ID. How can I change that?
User avatar Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Re: How to get an entity be ignored by mouse cursor

Postby Talvipakkanen » 12.05.2012, 18:12

In editor? Press Space to show helpers and click them  ;)
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
User avatar Der_Herm
Intern Dev
Intern Dev
 
Posts: 157
Member since: 08.07.2011, 18:39
Likes: 1

Re: How to get an entity be ignored by mouse cursor

Postby Der_Herm » 12.05.2012, 18:27

No i mean in game mode.

I'm using the input:mouse and there is the section "EntityID" on the top right end of this node which says: EntityID of the current entity under the mouse cursor.

And here I need an entity to be NOT recognized by the mouse cursor. Instead it should recognize the entity which is behind the one. (in the case of my example i mean an entity behind the "glass box entity"