Home | History | Annotate | Download | only in constraints
      1 package com.jme3.scene.plugins.blender.constraints;
      2 
      3 import java.util.logging.Level;
      4 import java.util.logging.Logger;
      5 
      6 import com.jme3.scene.plugins.blender.BlenderContext;
      7 import com.jme3.scene.plugins.blender.animations.Ipo;
      8 import com.jme3.scene.plugins.blender.exceptions.BlenderFileException;
      9 import com.jme3.scene.plugins.blender.file.Structure;
     10 
     11 /**
     12  * The damp track constraint. Available for blender 2.50+.
     13  * @author Marcin Roguski (Kaelthas)
     14  */
     15 /*package*/ class ConstraintDampTrack extends Constraint {
     16 	private static final Logger LOGGER = Logger.getLogger(ConstraintDampTrack.class.getName());
     17 
     18 	/**
     19 	 * This constructor creates the constraint instance.
     20 	 *
     21 	 * @param constraintStructure
     22 	 *            the constraint's structure (bConstraint clss in blender 2.49).
     23 	 * @param ownerOMA
     24 	 *            the old memory address of the constraint owner
     25 	 * @param influenceIpo
     26 	 *            the ipo curve of the influence factor
     27 	 * @param blenderContext
     28 	 *            the blender context
     29 	 * @throws BlenderFileException
     30 	 *             this exception is thrown when the blender file is somehow
     31 	 *             corrupted
     32 	 */
     33 	public ConstraintDampTrack(Structure constraintStructure, Long ownerOMA, Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
     34 		super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
     35 		// TODO Auto-generated constructor stub
     36 	}
     37 
     38 	@Override
     39 	protected void bakeConstraint() {
     40 		// TODO Auto-generated method stub
     41 		LOGGER.log(Level.WARNING, "'Damp Track' constraint NOT implemented!");
     42 	}
     43 }
     44