diff options
| author | AndreaCatania <info@andreacatania.com> | 2017-11-04 20:52:59 +0100 |
|---|---|---|
| committer | AndreaCatania <info@andreacatania.com> | 2017-11-04 20:52:59 +0100 |
| commit | fb4871c919571d719d27738cc4d7db496a575b57 (patch) | |
| tree | a92936591e93d6904dd5bd9b3dab9cd868e0480d /modules/bullet/SCsub_with_lib | |
| parent | ed047261f06f814eeb88a1f6ee2dd8abd7a14034 (diff) | |
| download | redot-engine-fb4871c919571d719d27738cc4d7db496a575b57.tar.gz | |
Bullet physics engine implementation
This is a bullet wrapper that allows Godot to use Bullet physics and benefit about all features.
Also it support all specific Godot physics functionality like multi shape body, areas, RayShape, etc..
It improve the Joints, Trimesh shape, and add support to soft body even if Godot is not yet ready to it.
Diffstat (limited to 'modules/bullet/SCsub_with_lib')
| -rw-r--r-- | modules/bullet/SCsub_with_lib | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/bullet/SCsub_with_lib b/modules/bullet/SCsub_with_lib new file mode 100644 index 0000000000..b362a686ff --- /dev/null +++ b/modules/bullet/SCsub_with_lib @@ -0,0 +1,33 @@ +#!/usr/bin/env python + +Import('env') + +thirdparty_dir = "#thirdparty/bullet/" +thirdparty_lib = thirdparty_dir + "Win64/lib/" + +bullet_libs = [ + "Bullet2FileLoader", + "Bullet3Collision", + "Bullet3Common", + "Bullet3Dynamics", + "Bullet3Geometry", + "Bullet3OpenCL_clew", + "BulletCollision", + "BulletDynamics", + "BulletInverseDynamics", + "BulletSoftBody", + "LinearMath" + ] + +thirdparty_src = thirdparty_dir + "src/" +# include headers +env.Append(CPPPATH=[thirdparty_src]) + +# lib +env.Append(LIBPATH=[thirdparty_dir + "/Win64/lib/"]) + +bullet_libs = [file+'.lib' for file in bullet_libs] +# LIBS doesn't work in windows +env.Append(LINKFLAGS=bullet_libs) + +env.add_source_files(env.modules_sources, "*.cpp") |
