This website requires JavaScript.
Explore
Help
Sign In
asgardius
/
virtualx-engine
Watch
1
Star
0
Fork
You've already forked virtualx-engine
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
7143401e25
virtualx-engine
/
modules
/
ik
/
SCsub
6 lines
81 B
Text
Raw
Normal View
History
Unescape
Escape
InverseKinematics node, basic features I don't already know how the fuck it works, but it is. A bit slow currently, but hope to improve it soon. The current limitations: 1. No constraints. At all. 2. Used simplest CCD algorithm, I just can't believe in jacobian construction from code. 3. Slow to get to target.
2016-03-29 21:52:31 +02:00
Import('env')
modules: Clone env in each module This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be. (cherry picked from commit da09c6131bcdace7e8e62c3dabc62890e9564c97) Obviously removed the parts about enet and visual_script.
2016-10-13 18:54:00 +02:00
env.add_source_files(env.modules_sources, "*.cpp")
Export('env')
Reference in a new issue
Copy permalink