|
|
hi,
"Hexhall" <n/a> wrote:
> I have a union object that is made up of a cylinder with two spheres, one sphere
> on each end of the cylinder. (This has to be the case, because it is output from
> another program). I would like to scale this object, stretching it in the
> direction of the axis of the cylinder, but I would like to prevent the
> dimensions of the spheres being affected. Is there any easy way to do this with
> this union?
other than manually elongating the cylinder and moving one sphere by hand, no,
to the best of my knowledge.
> Right now, the only option I think is viable is to write a program
> (I would use c++) and read such unions from an .inc file and write three
> separate objects in place of the union. Is there any keyword that prevents
> dimensions of objects being affected in unions, but allows their positions to
> change when a scale is being applied?
not aware of such a keyword/function, sorry. if you can conceive of a solution
in SDL, it would be interesting if you posted.
regards, jr.
Post a reply to this message
|
|