News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Thread Tools Display Modes
Old 24th Nov 2001, 07:40 PM   #1
Join Date: Oct. 22nd, 2000
Location: You really don't want to know... trust me...
Posts: 176
Regarding complex collisions...

I saw a thread on this a while ago, and I've come up with a way to do it and tested it and all in case anyone is wondering. Here it is:
You'll need to make your own "collision" actor with bCollideWorld and bCollideActors set to True. The collision actor should have some sort of offSet variable (of the type vector) and in its Tick(...) function it should MoveSmooth(locationwherewewanttobe-location) where locationwherewewanttobe is the location of the owner plus the offset (you'll need to use GetAxes(...) to make the offset change with the owner's rotation). Also, you may want to set the physics to PHYS_Projectile or something like that. The only problem I found was that the HitWall(...) function didn't work right, but this can easily be tested manually by checking if the location is equal to locationwherewewanttobe after the MoveSmooth(...) is called. Now keep in mind that this is probably only one of the many ways to do this, but so far it seems to have worked for me. Just thought I would share it with the rest of you.

Eater1 is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer