Line of laser projection.
#8

Quote:
Originally Posted by MP2
Посмотреть сообщение
Projection? What on earth are you talking about? Attach a rectangle area to the object..


Is that meant to put a cylinder around the laser? Not a sphere?
It defines the laser as a line p1,p2 then you just specify the sphere x, y, z and radius to check for an intersection. If you wanted to have a lot of areas then you would need to create an iterator to keep track of the areas the player is in then do the collision checks.
Reply


Messages In This Thread
Line of laser projection. - by Kyle - 12.02.2014, 15:38
AW: Line of laser projection. - by ElliotH - 12.02.2014, 16:17
Re: AW: Line of laser projection. - by Kyle - 12.02.2014, 16:19
AW: Line of laser projection. - by ElliotH - 12.02.2014, 16:36
Re: Line of laser projection. - by Pottus - 12.02.2014, 16:37
Re: Line of laser projection. - by MP2 - 12.02.2014, 16:37
Re: Line of laser projection. - by Lajko1 - 12.02.2014, 16:44
Re: Line of laser projection. - by Pottus - 12.02.2014, 16:49
Re: Line of laser projection. - by Riddick94 - 12.02.2014, 16:52
Re: Line of laser projection. - by Pottus - 12.02.2014, 16:58

Forum Jump:


Users browsing this thread: 4 Guest(s)