
Simple program to make objects move
Simple program to make objects move
There is a way to make objects move in the plasma-engine but it is so hard to make your own. The main thing I'm asking for is some 'blank moving object .pak file) that you will be able to use a program to edit it and change: 1. object name to be moved 2. the start and end locations and 3. the speed. I know some python and i think it would be fairly easy. 

Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
Re: Simple program to make objects move
Using Python to move object is a really really slow and nasty hack.
We're hoping to have real animations working soon, so hopefully no more evil, jerky Python stuff.
We're hoping to have real animations working soon, so hopefully no more evil, jerky Python stuff.

-
- Posts: 729
- Joined: Fri Sep 28, 2007 10:54 pm
Re: Simple program to make objects move
So there's no nice little "glRotate()" command (i.e. OpenGL code) you can use to make the skydome turn or anything like that? Ah, a pity...
Re: Simple program to make objects move
Wasn't there a "warp" command?
Chacal
"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
-
- Councilor of Technical Direction
- Posts: 2180
- Joined: Fri Nov 16, 2007 9:45 pm
- MOULa KI#: 23335
- Location: South Georgia
- Contact:
Re: Simple program to make objects move
Chacal wrote:Wasn't there a "warp" command?
Yes, there is, but having a smooth animation in Python would really slow down your age due to the inherent slow-ness of the functions involved. The engine has to do a good bit of work to move an object, and it really is much better to use real animations. I would recommend against any such program or pak being used, but knowing how you guys clamor for awesome stuff like animations, I shall simply digress.

At any rate, I'll take a gander at animations the next opportunity that I have unless someone else beats me to it.

Re: Simple program to make objects move
I agree doing any sort of animation with Python may be a slow and dirty method, but right now it's the only one we have.
(still I agree it should be a priority in the PyPRP work. Along with sounds and texture animation. p )
