Jump to content

Recommended Posts

Posted

I need to be able to define an area bounded by 3 blocks as chosen by the player.

 

What would be a good methodology to execute this ?

 

Ideally, each click stores the Vec3 of where it was clicked (will this work if the click is on a "air" block ?) then when 3 Vec3 have been collected, I perform operations on the area bounded by the 3 Vec3's (either on a command I can register or even better upon receiving the 3rd Vec3).

 

Not sure this is practical though......

I don't keep an open mind lest someone try to fill it with garbage - Mark Twain

Posted

Thanks for the direction. Not sure if I need MouseInputEvent or not but flailing around in code for awhile should give some results :D

 

I'm thinking "grab" command starts the ball rolling, then getting the points. Should be interesting doing some research on IExtendedEntityProperties...

I don't keep an open mind lest someone try to fill it with garbage - Mark Twain

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.