Jump to content

Drill effect with VehicleComponentRotation


Recommended Posts

This is a rather niche question but if anybody can give me even a vague pointer in the right direction, that'd be great as I'm a bit unfamiliar with how to tackle these sorts of problems.

I have a horizontal, spiral shaped vehicle component that I want to "spin" like a rotating drill without moving the drill itself from the position it is facing. Like this:

spacer.png

The problem is that using setVehicleComponentRotation on a basic clientrender event moves the ENTIRE drill either left, right or up and down and I'm not sure of how else to emulate this "drilling" effect. I'm sure it should technically be possible but I've no idea how to go about it. I realize it might be a bit of a difficult question, but any advice would be greatly appreciated.

 

Link to post
Posted (edited)

Does this have to be a vehicle component ? 
If not you can create an object attach it to vehicle and apply rotation to abject when vehicle moves?

Edited by Tekken
Typo
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...