Mixing animations with Ragdoll behaviour
stephengold.github.io
The Minie project
An introduction to DynamicAnimControl
is as far as the tutorial goes.
The big picture is that canned animations get “played” on an AnimComposer in the usual way. DynamicAnimControl builds a tree of physics colliders (“links”) corresponding to the major joints in the armature. DAC interposes itself between the AnimComposer and the SkinningControl, where it can blend physics data in with the joint transforms used for skinning.
To continue further, I suggest studying the javadoc and experimenting with some of the applications that utilize DynamicAnimControl, such as:
github.com/stephengold/Minie
Jme3Examples/src/main/java/jme3test/bullet/TestBoneRagdoll.java
52a352e3e
/*
* Copyright (c) 2009-2021 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'jMonkeyEngine' nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
This file has been truncated. show original
github.com/stephengold/Minie
MinieExamples/src/main/java/jme3utilities/minie/test/TestDac.java
52a352e3e
/*
Copyright (c) 2018-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
This file has been truncated. show original
github.com
GitHub - capdevon/Archer-Game-Template2: A Third Person Shooter demo made with...
A Third Person Shooter demo made with jMonkeyEngine.
Discussion in the ATmosphere