Quantcast
Channel: Answers for "Using a screen-drawn line to check for a collision [Vectrosity]"
Browsing latest articles
Browse All 8 View Live

Answer by StephanK

I don't think there is an easy solution for this, especially if your objects have a complex geometry and you need very accurate information about where the object was slashed.However the solution might...

View Article



Answer by Cyb3rManiak

Well, as I see it you don't really have to calculate if the line intersected the objects. Your input is the touch interface. All you have to do is check if at any time did the user moved his finger...

View Article

Answer by Jeston

I would approach this by transforming the collider of your 3d objects into screen space, and using a Line to Line collision test for each polygon in your model. I also assume that your collision info...

View Article

Answer by burgunfaust

If you were to resort to onmouseover for your raycasting, why not use onmousedrag and just get the start and stop points?

View Article
Browsing latest articles
Browse All 8 View Live




Latest Images