Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conveyor Belt System
#1
I'm trying to build a conveyor belt type system. I'm struggling with getting it right.

I basically want to follow the spline, with a perpendicular offset. This is so items travelling round the outer edge of a curve will travel faster than item on the inner side of a curve.

Im currently finding the nearest TF when the object lands on the conveyor belt, but just following the tangent isnt good enough. Can anyone give me some pointers?

Here is a snippet of what im doing...
http://hastebin.com/busajuhequ.avrasm
Reply
#2
Guess I already answered by mail (that was you, right?). I'd simply make the object a child of the GameObject holding a regular spline controller, then offset it by changing the child's transform.

PS: TF means "Total Fragment" Wink
Reply
#3
Hey Jake, Yes it was me you emailed. I bought curvy anyhow, as i think i can put it to good use.

I dont think i can make the object a child of the GameObject holding the spline as its a rigid body and i believe re-parenting rigid bodies isnt a good idea.

Ive made some progress today, but i still feel my implementation isnt quite right. take a look if you fancy.

https://gist.github.com/samsamm777/a3c1d6c7ad81a0607806

The problem with this implementatin is that when objects are traveling on the inside of the curve, they 'move backwards' if the curve is tight. im finding it tricky to resolve this
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Partcile System with curvy Wardp 1 2,948 04-19-2017, 07:02 PM
Last Post: Jake
Photo Splines for a node system Cascho 6 9,281 10-26-2015, 06:37 PM
Last Post: Jake

Forum Jump: