Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
vor 8 Jahren
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
vor 9 Jahren
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
vor 9 Jahren
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
vor 10 Jahren
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
vor 10 Jahren
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
vor 10 Jahren
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
vor 10 Jahren
Benjamin ‘Touky’ Huet
4cd864545c
assert on non-handled raycast.
vor 11 Jahren
Benjamin ‘Touky’ Huet
b38bcfaa57
lolphysics.h : small build fix
vor 11 Jahren
Sam Hocevar
b45c1dc7fe
physics: always activate Bullet and remove dead code.
vor 11 Jahren
Jean-Yves Lamoureux
873a294d7a
* Whoops. ça va pardon.
vor 11 Jahren
Jean-Yves Lamoureux
d058092983
* Physics
vor 11 Jahren
Lolbot
ad2ddbb715
build: convert source files to lowercase.
vor 11 Jahren
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
vor 12 Jahren
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
vor 12 Jahren
Benjamin ‘Touky’ Huet
006c3c4649
BulletCharacterController is now readable by a human being.
BtPhysTest now implements it with the BtKineCC logic -just modify that now-.
vor 12 Jahren
Benjamin ‘Touky’ Huet
5d10ec177c
Small physic refactor.
vor 12 Jahren
Benjamin ‘Touky’ Huet
11ddba1864
Added Attachment/base logic with working attachment with EasyCharacterController.
Added RayCastResult & a naïve integration for EasyCharacterController.
Enjoy !
vor 12 Jahren
Benjamin ‘Touky’ Huet
dc4735c9c0
BUILD fuck
vor 12 Jahren
Benjamin ‘Touky’ Huet
646aeb33eb
Warning removal.
vor 12 Jahren
Benjamin ‘Touky’ Huet
735d3dace5
Reverted last CL
vor 12 Jahren
Benjamin ‘Touky’ Huet
50c2855d89
Small .h & .cpp refactor
vor 12 Jahren
Benjamin ‘Touky’ Huet
ca94a77974
BtPhysTest : Splitted Physics files
vor 12 Jahren
Benjamin ‘Touky’ Huet
9d876b6cb3
CIS FUCK
vor 12 Jahren
Benjamin ‘Touky’ Huet
11b6cfff4c
CIS FIX
vor 12 Jahren
Benjamin ‘Touky’ Huet
e8d2d8c202
So Character Controller works with a lazy camera logic.
vor 12 Jahren
Benjamin ‘Touky’ Huet
f514756a2d
Lazy WE :
Small tweaks in the BtPhysTest demo.
Added Ghost Object skeleton (not tested)
vor 12 Jahren
Sam Hocevar
c5b40eb1d5
test: fix the physics simulation tick.
vor 12 Jahren
Benjamin ‘Touky’ Huet
38f0fd5fc3
Small name refactor & correct Kinematic integration.
+ Constraint hollow class.
vor 12 Jahren
Benjamin ‘Touky’ Huet
d642c90e6f
Added Collision group & mask support.
+ weird racist test : the primitives only collide with their same type.
vor 12 Jahren
Benjamin ‘Touky’ Huet
a93067b19a
Small refactor of the Phys::Simulation.
Phys::Simulation is now an entity.
Phys::Simulation now implements timesteps correctly.
vor 12 Jahren
Benjamin ‘Touky’ Huet
ebbed2988a
BtPhysTest : Container box now moves.
vor 12 Jahren
Sam Hocevar
92308c4e81
test: use 0 instead of NULL to fix the X360 build.
vor 12 Jahren
Benjamin ‘Touky’ Huet
cd46cef099
Added Cylinder primitives.
Added several delete/destructor, speeds up exit & saves memory.
vor 12 Jahren
Benjamin ‘Touky’ Huet
6cb8bb99ca
Behold the power of LolPhysics !
Added lol::phys::Simulation, lol::phys::EasyPhysics for easy physic uses.
Added PhysicsObject, wich hold EasyMesh & EasyPhysics components so it is easy to use. Easy seems to be the consensus.
BtPhysTest now works with new physics classes.
Known problem for this commit:
Physics is not properly setup.
There might be memory leaks, I don't think I've parsed all new/delete.
A LOT of primitives are not taken into account.
vor 12 Jahren