Blockland Forums > Modification Help
How do I get a model to animate in first person?
Pages: (1/1)
Makingblah:
It animates in third person, but not first person. I can still see my model in first person as well.
Blockomanian:
what the heck are you making??
Makingblah:
A battleaxe. I can model, but I'm stuff at it and I'm even worse at exporting models and getting them to work.
Does anyone know what can cause a model not to animate in first person?
Barakuda:
You must change something in the script to 0, but I don't know what. I had the same problem.
I'll try to post the solution in a moment.
EDIT: http://forum.blockland.us/index.php?topic=96715.0
Makingblah:
--- Quote ---Datablock ShapeBaseImageData(swordImage)
{
// Basic Item properties
shapeFile = "./sword.dts";
emap = true;
// Specify mount point & offset for 3rd person, and eye offset
// for first person rendering.
mountPoint = 0;
offset = "0 0 0";
// When firing from a point offset from the eye, muzzle correction
// will adjust the muzzle vector to point to the eye LOS point.
// Since this weapon doesn't actually fire from the muzzle point,
// we need to turn this off.
correctMuzzleVector = false;
eyeOffset = "0";
--- End quote ---
Thank you, and that's the way to solve the problem!
Pages: (1/1)