Best way to achieve a Conveyor Belt

Hi Guys!!!

I’m trying to build a level for our game that has several conveyor belts, each one moving from one side to another…

Which will be the best way to do it?

Thanks for the advices!!! [import]uid: 84893 topic_id: 22747 reply_id: 322747[/import]

The “best” way to do it is the method that gives you the look/feel you want with the shortest amount of development time.

But I’m not sure you’ve given people enough info for a “best” answer. For example, are there going to be objects riding on the conveyor belt?

Creating an animated convertor belt would be easy. Then you could either give it some physics properties and any riding objects would then be carried along.

Or, skip physics and fake the riding on the conveyor belt thing – any objects “riding” it would just be at a given Y coordinate (to look like they’re sitting on the belt) and then move sideways at the same speed as the belt animation.

Jay
[import]uid: 9440 topic_id: 22747 reply_id: 90809[/import]

Thanks for yor reply Jay.

Actually i’m looking for some advice regarding how to do it.

The idea is that you have to put the player at the right conveyors to get to the exit point, so indeed the character has to be up the conveyor belt.

I was thinking in doing a movie clip to animate the conveyor, but i don’t know yet which physics parameter use to acomplish the movement of the character on the conveyor (right or left). Once the player is on the conveyor, the movement is not controlled by user, is controlled by the orientation of the conveyor.

Thanks for any help!!!

Regards,
Jose [import]uid: 84893 topic_id: 22747 reply_id: 90812[/import]

I did something similar a long time ago and achieved the conveyor effect nicely by using

setLinearVelocity

[import]uid: 84637 topic_id: 22747 reply_id: 90943[/import]