Problem 164 - I can't change the gun-position
Summary: I can't change the gun-position
Status: RESOLVED INVALID
Alias: None
Product: Examples/Basic and Novice
Classification: Unclassified
Component: N03 (show other problems)
Version: 1.1
Hardware: All Linux
: P2 normal
Assignee: Michel.Maire
URL:
Depends on:
Blocks:
 
Reported: 2000-10-11 03:26 CEST by Alexander.Dietz
Modified: 2007-04-08 18:49 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Alexander.Dietz 2000-10-11 03:26:18 CEST
I tried in the exampleN03 (interactive) to change the gun-position (for example,
I typed '/gun/position 700 700 700 cm', but when starting some particles I
cannot see any different. It seems that the starting position didn't change. So
what can I do?
Comment 1 Gabriele Cosmo 2000-10-13 01:43:59 CEST
The gun position in example N03 is either fixed or set to be random, see
ExN03PrimaryGeneratorAction::GeneratePrimaries(). You should modify that
method if you want to fix the primary position by yourself.
However, the /gun/position command in this case should be overridden in the
PrimaryGeneratorMessenger and deactivated...