Skip to content

Integrating recast & detour to project #583

Answered by grahamboree
TheExeQ asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I'm in the process of writing up a more detailed intro guide to Recast, but the gist of it is:

Like i already have a modelloader from which i can get verts, indices, normals etc.. Can i use this info to use recast or do i actually need InputGeom and everything else?

Yes, you can use your modelloader! You likely don't need 95% of what's in RecastDemo.

The demo code tries to be a super full featured demo that uses every feature Recast has to offer, and keep intermediate results so you can examine them in the UI, and track build timing information. There's a lot of code in there you probably don't need.

The relevant code is probably just these lines in Sample_SoloMesh::handleBuild:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alishahb
Comment options

@SigmaKlim
Comment options

@grahamboree
Comment options

Answer selected by grahamboree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #582 on November 23, 2022 19:06.