Jump to content

Search the Community

Showing results for tags 'PolygonIntersection'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. Hi, When I add lines into canvas, there are two ways to setup the position of the points. First, set local coordinate to line point through 'canvas.addLinePoint()', then set transform to canvas through 'canvas.addTransform()'; Second, calculate screen position=transform*local coordinate, then set screen position to line point through 'canvas.addLinePoint()'. The first way, I cannot get intersection with lines through 'canvas.getLineIntersection()'. The second way, it works. There are two examples in attach files. 'canvas_03' shows the first way. 'canvas_04' shows the second way. canvas_03.cpp canvas_03.world canvas_04.cpp canvas_04.world
×
×
  • Create New...