Jump to content

Texture Projection (for an AoE style effect)


HoratioHuffnagel
 Share

Recommended Posts

Hi,

I am currently working on a project using PlayCanvas - however, any answers or pointers can be more WebGL specific. I need to create an effect like the WoW or LoL AoE textures, (you know, those circles that appear on the ground indicating where an area of effect attack will hit). However, I am having a little trouble finding documentation on how to achieve this. In Unity for instance, you'd just use a Projector component. In WebGL I believe we need to do some kind of Frustum intersection test - but I am not really sure how to achieve it. 

Any pointers would be highly appreciated. 

Cheers!

Link to comment
Share on other sites

  • 6 months later...

Well i, @HoratioHuffnagel

Im not an expert coders like THE others here but maybe try think arena as Huge chessboard.

Where Evert click has unique id....

Then u want onclick observable maybe?

With an event which tile was clicked?

And then create an animation there 

Like drawing a cross or circle...

I hope im not totally Lost but thats what i would do!

Cheers

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...