Commit Graph

67 Commits (openmw-36)

Author SHA1 Message Date
scrawl 41b3a9dba9 Rewrite animated collision shape support (Fixes #2123) 10 years ago
scrawl 064f1964ba More efficient water walking 10 years ago
scrawl 09f27d142a Clear movement queue when changing to a new cell (Fixes #1802) 11 years ago
scrawl f8040da694 Make doors move through dead actors (Fixes #1608) 11 years ago
scrawl 543bb22e8f Implement collision script instructions (Fixes #1111) 11 years ago
scrawl 3b2358888b Attempt to fix player position after using coc/coe 11 years ago
scrawl 0b34d8d2fd Add support for animated collision shapes (Fixes #1549) 11 years ago
scrawl c36decb855 Fix being able to place items on top of actors (Fixes #1403) 11 years ago
scrawl 2fe86f2b85 Consider hit normal for item drop test (Fixes #995) 11 years ago
Chris Robinson f2889e4bb5 Remove unused functions and parameters 12 years ago
Chris Robinson f5d03a16c1 Rename getFacedObject and getFacedHandle for melee hits 12 years ago
Chris Robinson a546ace94d Remove an unused method 12 years ago
Chris Robinson 1a9672e31b Don't update player physics more than 60 times a second
Bullet and/or our collision handling code doesn't like timesteps much
smaller than that. Ideally we should do physics in 60fps (or even 30fps)
steps and use prediction and interpolation to get more, but that's not
straight forward and needs a fixed timestep loop to lock physics and
logic together.
12 years ago
Chris Robinson 96bab88da6 Add physics methods to queue and apply movements 12 years ago
Chris Robinson 6195062d72 Try to figure out what gets hit
This isn't the greatest. The distance multiplier is a guess, and a sphere cast
may be better.
12 years ago
scrawl c81b852071 Fixes inaccurate ray casts; rely on getCameraToViewportRay 12 years ago
gus 603af21715 little interface improvement 12 years ago
gus 006f25d1c0 First try to improve AI. Does not work yet due to strange bug in physicsystem 12 years ago
Chris Robinson d17e1e83d5 Rename MWRender's Player to Camera 12 years ago
scrawl 9343b4459e Opening doors 12 years ago
scrawl ebaf80d539 Trace actors onto the ground after load, when moved to a different cell by the console or on player cell change. 12 years ago
scrawl 84afd87321 Placeable objects should not collide unless they have a NiRootCollisionNode 12 years ago
Chris Robinson c57001e3bd Remove an unused field 12 years ago
Chris Robinson fe0e6c452d Remove the unneeded playerMove object from PhysicsSystem 12 years ago
Chris Robinson 923d0d6eb4 Fix up some header includes 12 years ago
Chris Robinson 9cf30f39bd Don't apply gravity when swimming 12 years ago
Chris Robinson 2c39760bd5 Move the movement solver code to mwworld's physics system 12 years ago
Chris Robinson 0a4568bd11 Move the PtrMovementList typedef to MWWorld
Use it for the doPhysics parameter, too
12 years ago
Chris Robinson 2cdda96798 Clear out some unneeded doPhysics stuff 12 years ago
Nathan Jeffords 0108be2e4f updated MWWorld::PhysicsSystem::getFacedXXX functions
* changed the names and return values to be consistent
 * made the distance to search a parameter
 * change the distance returned to world units instead of percentage of query distance
12 years ago
emoose 7a7825577a Changed: use MWWorld::Ptr for PhysicsSystem arguments 12 years ago
Jason Hooks 2efceba1fc Tearing apart PhysicActor 13 years ago
Jason Hooks 0697c7f7f4 Finally merged in master 13 years ago
greye 6961830efb using real player eye direction when moving 13 years ago
Jason Hooks 1f5bc229e0 Separate adjustRigidBody function 13 years ago
greye 26595f22f6 float* -> Vector3, moveToCell -> copyToCell, fixed placeObject() 13 years ago
greye cd04911f3c dropping on the ground 13 years ago
greye 49b1d5e127 fix object placing 13 years ago
greye 87050e48c8 physics getObjectHeight(), MWWorld::Class::getModel() definition 13 years ago
guidoj 0549e949ba Mostly removal of unnecessary #include's and a little clean up 13 years ago
Jason Hooks 33fe80723c btScaledBvhTriangleMeshShapes 13 years ago
scrawl 0ba0b2122e set the implicit object for script excution by clicking on it 13 years ago
scrawl b18ee198b4 use a raycast to determine where to place object, if distance is too far
drop it on the ground
13 years ago
scrawl 86b6184f43 pMove in a seperate loop with fixed timestep to prevent frame-dependent movement 13 years ago
scrawl 75b336baea Merge branch 'physicsaedra2' of https://github.com/jhooks1/openmw into physicsaedra2
Conflicts:
	apps/openmw/mwinput/inputmanager.cpp
	apps/openmw/mwworld/player.cpp
	libs/openengine/bullet/physic.cpp
13 years ago
Jason Hooks 4d07ae7fe0 Swimming working 13 years ago
Jason Hooks 1ce759af06 Merging in master 13 years ago
scrawl 75dd651205 Merge branch 'terraincollision' into physicsterrain
Conflicts:
	apps/openmw/mwworld/physicssystem.cpp
13 years ago
scrawl 9e1a9e5758 Merge branch 'master' into physicsaedra2
Conflicts:
	apps/openmw/mwinput/inputmanager.cpp
	libs/openengine/bullet/physic.cpp
13 years ago
Jason Hooks 57299571d5 Preparing for clothes/armor 13 years ago